This is the Next.js frontend for the project. It uses Clerk for authentication and demonstrates calling protected FastAPI backend endpoints with Clerk JWTs.
- Next.js (React, TypeScript)
- Clerk
src/app/dashboard/page.tsx- Fetches Clerk JWT
- Calls public and protected backend endpoints
- Displays personalized content from backend
Run these commands in the client/ directory:
npm install— Install dependenciesnpm run dev— Start Next.js in development modenpm run build— Build for productionnpm run start— Start production server
The frontend will be available at http://localhost:3000 when running.