NestJS

NestJS 11 · intermediate

NestJS track

Build production server-side apps with NestJS. Modules, providers, dependency injection, pipes, guards, interceptors, microservices, GraphQL — the complete framework that powers many large Node backends in the wild.

Start the first lesson 70 of 70 lessons live

Section 01

NestJS Foundations

Install Nest, understand modules, controllers, and providers — the three pillars.

10 / 10 lessons
Chapter quiz 8 questions on NestJS Foundations
  1. 01 What NestJS Is 4 min
  2. 02 Installing & Bootstrapping Nest 4 min
  3. 03 The Nest CLI 4 min
  4. 04 Project Structure 4 min
  5. 05 Modules — Nest's Composition Unit 4 min
  6. 06 Controllers — HTTP Request Handlers 4 min
  7. 07 Providers & Services 4 min
  8. 08 Bootstrapping the App 4 min
  9. 09 Decorators — Nest's Building Block 4 min
  10. 10 HTTP Platform — Express vs Fastify 4 min

Section 02

Routing & Request Handling

Decorators for routes, params, queries, bodies, headers, status, streaming.

10 / 10 lessons
Chapter quiz 8 questions on Routing & Request Handling
  1. 01 Routing With Decorators 4 min
  2. 02 Route Parameters 4 min
  3. 03 Query Parameters 4 min
  4. 04 The Request Body 4 min
  5. 05 Headers — Reading & Setting 4 min
  6. 06 HTTP Status Codes 4 min
  7. 07 Redirects 4 min
  8. 08 Async Handlers & Observables 4 min
  9. 09 Streaming Responses 4 min
  10. 10 Custom Parameter Decorators 4 min

Section 03

Dependency Injection & Modules

The container, scopes, custom providers, dynamic and global modules.

10 / 10 lessons
Chapter quiz 8 questions on Dependency Injection & Modules
  1. 01 The Dependency Injection Container 4 min
  2. 02 Services — The Business Layer 4 min
  3. 03 Injection Scopes 4 min
  4. 04 Custom Providers 4 min
  5. 05 Factory Providers 4 min
  6. 06 Async Providers 4 min
  7. 07 Circular Dependencies 4 min
  8. 08 Dynamic Modules 4 min
  9. 09 Global Modules 4 min
  10. 10 Structuring Feature Modules 4 min

Section 04

Middleware, Pipes, Guards & Interceptors

The request lifecycle — every cross-cutting concern in its own building block.

10 / 10 lessons
Chapter quiz 8 questions on Middleware, Pipes, Guards & Interceptors
  1. 01 Middleware 4 min
  2. 02 Pipes — Transform & Validate 4 min
  3. 03 The Built-In ValidationPipe 4 min
  4. 04 class-validator — DTOs With Rules 4 min
  5. 05 class-transformer — Shape Your Output 4 min
  6. 06 Guards — Allow or Deny 4 min
  7. 07 Auth Guards 4 min
  8. 08 Interceptors — Wrap the Pipeline 4 min
  9. 09 Exception Filters 4 min
  10. 10 ExecutionContext & Reflector 4 min

Section 05

Data & Persistence

TypeORM, Prisma, Mongoose, transactions, pagination, migrations.

10 / 10 lessons
Chapter quiz 8 questions on Data & Persistence
  1. 01 TypeORM in NestJS 4 min
  2. 02 Entities & the Repository Pattern 4 min
  3. 03 Querying With Repositories & QueryBuilder 4 min
  4. 04 Relations & Eager Loading 4 min
  5. 05 Migrations & Seeding 4 min
  6. 06 Prisma in NestJS 4 min
  7. 07 MongoDB With Mongoose 4 min
  8. 08 Database Transactions 4 min
  9. 09 Pagination Patterns 4 min
  10. 10 Per-Environment Database Config 4 min

Section 06

Auth, APIs & Real-Time

Passport, JWT, RBAC, Swagger, WebSockets, GraphQL, microservices, SSE.

10 / 10 lessons
Chapter quiz 8 questions on Auth, APIs & Real-Time
  1. 01 Passport.js in Nest 4 min
  2. 02 JWT Authentication 4 min
  3. 03 Roles & Permissions (RBAC) 4 min
  4. 04 OAuth — Sign In With Google 4 min
  5. 05 OpenAPI & Swagger 4 min
  6. 06 WebSockets With Socket.IO 4 min
  7. 07 GraphQL — Code-First 4 min
  8. 08 Microservices — TCP, Redis, NATS 4 min
  9. 09 gRPC Microservices 4 min
  10. 10 Server-Sent Events 4 min

Section 07

Production & Tooling

Config, logging, caching, queues, scheduling, testing, Docker, deployment.

10 / 10 lessons
Chapter quiz 8 questions on Production & Tooling
  1. 01 The Config Module 4 min
  2. 02 Logging 4 min
  3. 03 Caching — In-Memory & Redis 4 min
  4. 04 Background Jobs With BullMQ 5 min
  5. 05 Scheduled Tasks 4 min
  6. 06 Unit Testing With Jest 4 min
  7. 07 End-to-End Testing 4 min
  8. 08 Performance Tuning 4 min
  9. 09 Dockerizing a Nest App 4 min
  10. 10 Deployment & Going Further 4 min