A real-time ticketing and collaboration platform built with NestJS (backend) and Next.js (frontend), using Prisma + PostgreSQL.
back/- NestJS API + Prismafront/- Next.js app
- Node.js (LTS recommended)
- PostgreSQL database (local or hosted, e.g. Neon)
cd back
npm installCreate back/.env with:
# Required
DATABASE_URL="postgresql://USER:PASSWORD@HOST:5432/ticket_system?schema=public"
# Optional (defaults to 3000)
PORT=3000npx prisma generateThis generates the Prisma client into back/generated/prisma (see prisma/schema.prisma).
npm run start:devThe API listens on http://localhost:${PORT}.
cd front
npm installnpm run devBy default the app runs on http://localhost:3000.
If you want to run the API and web app together, set a different API port in back/.env (for example PORT=3001) or start Next.js on another port:
npm run dev -- -p 3001npm run start:dev # dev server
npm run build # production build
npm run start:prod # run production build
npm run lint # lint
npm run test # unit testsnpm run dev # dev server
npm run build # production build
npm run start # run production build
npm run lint # lintproject_overview.md- feature overviewproject_description.md- extended descriptionmodels_and_fields.md- data modelsrest_graphql_usage.md- API guidanceMESSAGING_INTEGRATION.md- messaging module setup and usage guideJWT_INTEGRATION.md- JWT authentication integration for the messaging moduleFILES_INTEGRATION.md- file upload system with Cloudinary integration