Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 949 Bytes

File metadata and controls

40 lines (31 loc) · 949 Bytes

GraphPy

This is a Flask-backed graph generator with a static frontend.

Local development

  1. Install dependencies:
    pip install -r requirements.txt
  2. Run locally:
    python index.py
  3. Open http://127.0.0.1:5000 in your browser.

Production deployment on Vercel

This project is configured to deploy on Vercel using vercel.json.

  1. Install Vercel CLI if needed:
    npm install -g vercel
  2. Login to Vercel:
    vercel login
  3. Deploy the project:
    vercel --prod

Vercel will serve the static frontend from static/ and the Python backend from api/index.py.

Notes

  • The frontend is served as static files from static/.
  • API calls are handled through /api/graph and /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.