Turn Nexus AI from a portfolio-grade full-stack demo into a multi-user student career platform where each student has a private workspace.
- Authentication: Clerk
- Database: PostgreSQL
- Backend: FastAPI
- Frontend: GitHub Pages now, Vercel later if the frontend moves to React
- Hosting: Render web service plus Render PostgreSQL or Neon PostgreSQL
- Add Clerk authentication to the frontend.
- Send the Clerk JWT with every API request.
- Verify the JWT in FastAPI using Clerk's JWKS URL.
- Create or fetch a
usersrow from the verified auth subject. - Add
user_idto every workspace query. - Migrate the SQLite schema to
backend/postgres_schema.sql. - Replace shared demo storage with per-user PostgreSQL storage.
- Keep the current sample workspace as an optional demo mode.
- A user can only read and write rows where
user_idmatches their verified account. - Resume notes are private user data.
- Export/import should remain user-controlled.
- Analytics should be computed from a student's own workspace unless explicit consent is added for aggregate research.
Authentication and PostgreSQL are the two upgrades that make Nexus AI feel like a real startup product instead of a single-user dashboard. They create the foundation for accounts, persistence, student privacy, cohort analytics, and future AI coaching.