NestJS + Prisma + PostgreSQL.
cp .env.example .env
docker compose -f ../docker-compose.dev.yml up -d # postgres + dev-remail (local Resend mailbox)
npm install
npm run start:dev # http://localhost:4000/api/v1/health| Script | Purpose |
|---|---|
npm run start:dev |
watch mode |
npm test / npm run test:e2e |
unit / e2e tests (e2e needs Postgres) |
npm run lint, npm run typecheck |
static checks |
npm run prisma:migrate |
create/apply migrations |
npm run generate:openapi |
write openapi.json (consumed by web/) |
Swagger UI: http://localhost:4000/docs.
See the root README for the full setup and docs/deployment.md for production configuration.