SERGIO TOMASBack to portfolio

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

  1. 01

    Modules

    Organizing the app into cohesive, feature-based modules.

  2. 02

    Providers & DI

    Services injected through Nest's IoC container.

  3. 03

    Controllers & decorators

    Declarative routing and metadata.

  4. 04

    Pipes, guards, interceptors

    Validation, authorization and cross-cutting concerns.

  5. 05

    GraphQL & microservices

    First-class support for GraphQL and message-based transports.

  6. 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.