DIGREE helps UW–Madison students plan class schedules. The web app reads course and schedule data from Supabase and sends normalized requests to the scheduling optimizer.
| Component | Setup |
|---|---|
| Next.js web app | Web README |
| FastAPI optimizer | Optimizer README |
| Supabase schema, seed data, and imports | Database README |
For a browser-only preview, install the web dependencies and use the sample environment:
cd apps/web
npm ci
Copy-Item .env.example .env.local
npm run devOpen localhost:3000. The sample environment uses synthetic data and requires no sign-in.
For a full-stack run, start the local Supabase stack and optimizer. In the web environment, set NEXT_PUBLIC_DIGREE_DATA=supabase, DIGREE_MOCK=0, the Supabase URL and public client key, and the optimizer URL. Save credentials and local configuration in the ignored apps/web/.env.local.
- OpenAPI contract and reference fixtures define the web-to-optimizer API. Both owners review contract changes.
- Database handoff describes the Supabase interface and access policies.
- Scenario testing maps the DIGREE design boards to app flows and data checks.
- Team handoff describes the original MVP scope and ownership.