Back-end & APIs · Tool
NestJS
Structured, scalable Node.js back-ends.
01Overview
NestJS brings architecture to Node.js: modules, dependency injection and decorators inspired by Angular. I reach for it when a back-end needs clear boundaries that a growing team can follow.
02Key concepts
What anyone working with it needs to understand
- 01
Modules
Organizing the app into cohesive, feature-based modules.
- 02
Providers & DI
Services injected through Nest's IoC container.
- 03
Controllers & decorators
Declarative routing and metadata.
- 04
Pipes, guards, interceptors
Validation, authorization and cross-cutting concerns.
- 05
GraphQL & microservices
First-class support for GraphQL and message-based transports.
- 06
Testing
Unit and e2e tests with the testing module.
03In practice
Part of my Node.js back-end toolkit (Express, NestJS, GraphQL) for services that need clear architecture.