Monorepo workspace for:
backend/(NestJS + Prisma API)frontend/(Next.js public/admin UI)
- Node.js 20+
- PostgreSQL running locally
- Copy
backend/.env.exampletobackend/.env - Set
DATABASE_URL,JWT_SECRET, andJWT_REFRESH_SECRET - Optional integrations (Google Calendar, Cloudinary, Resend) can stay empty for local development
- Copy
frontend/.env.exampletofrontend/.env.local - Keep
NEXT_PUBLIC_API_URLashttp://localhost:3001/apiunless you changed backend host/port
npm run install:all
cd backend
npx prisma migrate deploy
npx prisma db seedFrom workspace root:
npm run devIf you hit port-in-use errors on 3000 or 3001:
npm run dev:reset- Backend:
http://localhost:3001/api - Frontend:
http://localhost:3000 - Swagger:
http://localhost:3001/api/docs
npm run buildUse the full deployment guide here: