nestjs-dev-guide
NestJS Development Guide
NestJS is a progressive framework for building efficient, scalable Node.js server-side applications. Built with TypeScript, it integrates OOP/FP/FRP, uses Express (default) or Fastify under the hood, and its architecture is deeply inspired by Angular.
Version: v11+ | Requires Node.js ≥20
Trigger Scenarios
Use when the user needs to build a backend application with NestJS, create REST APIs, use decorators and dependency injection, build microservices, configure Swagger documentation, or write NestJS Controllers/Providers/Modules/Guards/Pipes/Interceptors. Trigger keywords include "nest", "nestjs", "create API", "backend service", "decorator injection", "guard", "pipe", "interceptor", "swagger", etc.
Quick Start
npm i -g @nestjs/cli
nest new my-project
cd my-project && npm run start:dev
Or use npx @nestjs/cli@latest new my-project to avoid global installation.