orders-api/
Pick any file or folder on the left to see what it is, why it exists, when you add it and the mistakes people make with it. Switch the stage to watch the project grow.
# Install the Nest CLI
npm i -g @nestjs/cli# Create the project (pick ESM with Vitest when asked)
nest new orders-api# Generate a feature: module, controller, service, DTOs, entity and tests
nest g resource orders# Add config, validation and the database
npm i @nestjs/config class-validator class-transformer @nestjs/typeorm typeorm pg# Add auth, queues, docs and rate limiting
npm i @nestjs/jwt argon2 @nestjs/bullmq bullmq @nestjs/swagger @nestjs/throttler# Add production pieces: health, logging, error tracking
npm i @nestjs/terminus nestjs-pino pino-http @sentry/nestjs# Add real-database tests
npm i -D @testcontainers/postgresql @testcontainers/redis