Sphinx-SCA

IntelliMath AI (Sphinx-SCA)

Multi-page Vite frontend + FastAPI backend for an AI-powered math solver.

Quick start (local development)

1) Configure environment variables

2) Run backend (FastAPI)

pip install -r requirements.txt
uvicorn backend.app:app --reload --host 0.0.0.0 --port 8000

Backend health check: GET /health

3) Run frontend (Vite)

npm install
npm run dev

The frontend uses the dev proxy in vite.config.js for:

So in local dev you can leave VITE_API_URL empty.

Production build

npm run build
npm run preview

Deployment

The repository includes render.yaml defining:

Set the required env vars in Render:

VITE_API_URL is automatically wired in render.yaml from the backend external URL.

Notes

Developer docs