Generated by create-prisma with the NestJS template.
pnpm run dev- start the Nest dev server with watch modepnpm run build- compile the app intodist/pnpm run start- run the compiled server fromdist/main.js
- Make sure dependencies are installed.
- Generate Prisma Client:
pnpm run db:generate
- Run your first migration:
pnpm run db:migrate
- Seed the database:
pnpm run db:seed
- Use the shared Prisma setup from
src/lib/prisma.tsand injectPrismaServicefromsrc/prisma.service.tsinside Nest providers.
Generated Prisma files are written to src/generated/prisma.
The template includes a basic User model, a sample GET /users endpoint, and seed data in prisma/seed.ts.