This is a Flask-backed graph generator with a static frontend.
- Install dependencies:
pip install -r requirements.txt
- Run locally:
python index.py
- Open
http://127.0.0.1:5000in your browser.
This project is configured to deploy on Vercel using vercel.json.
- Install Vercel CLI if needed:
npm install -g vercel
- Login to Vercel:
vercel login
- Deploy the project:
vercel --prod
Vercel will serve the static frontend from static/ and the Python backend from api/index.py.
- The frontend is served as static files from
static/. - API calls are handled through
/api/graphand/api/code. - If you want a production URL on Netlify, use Netlify for the static frontend and a separate Python backend host like Render or Railway for the API.