NestJS is a framework for building efficient, scalable Node.js server-side applications. Created by Kamil Mysliwiec, NestJS combines elements of object-oriented programming, functional programming, and functional reactive programming under a familiar Angular-inspired module/controller/provider architecture.
It supports both Express and Fastify as HTTP engines, ships with first-class TypeScript support, dependency injection, and adapters for GraphQL, gRPC, WebSockets, and message queues.
Progressive Node.js framework for building efficient, scalable server-side applications. Angular-inspired DI.
✨ Features
Angular-inspired modules with controllers, providers, and exports. Scale to enterprise easily.
Hierarchical IoC container. Auto-wired by constructor types, testable, swap-able.
TCP, Redis, MQTT, NATS, RabbitMQ, Kafka, gRPC transports. Same controllers, different transport.
Auth guards, validation pipes, interceptors, exception filters — composable cross-cutting concerns.
Code-first and schema-first GraphQL. Auto-generated OpenAPI specs for REST endpoints.