Sikau

Learn NestJS

Structured TypeScript backends: modules, DI, validation and guards.

Build backends the way large teams do. NestJS organises Node.js apps into modules, controllers and services with dependency injection; validates input with DTOs and pipes; protects routes with guards; and stays testable — all in TypeScript, running in your browser.

Advanced · 15 lessons · about 8 hours · free

Start NestJS free: run real code in your browserright here

Continue with Google

What you will learn

Unit 1: Nest fundamentals

Modules, controllers, providers and dependency injection.

  1. Day 1What is NestJS?Structured, TypeScript-first backends.25 min
  2. Day 2Controllers in depthPrefixes, params, query, body and status codes.30 min
  3. Day 3Providers and dependency injectionServices hold the logic; Nest wires them in.30 min
  4. Day 4Feature modulesimports, exports and boundaries.30 min
  5. Day 5Project: Staff moduleA complete feature module from scratch.40 min

Unit 2: Requests done right

DTOs, validation, pipes, exceptions and guards.

  1. Day 6DTOs and validationDescribe incoming data once; reject bad input automatically.35 min
  2. Day 7PipesTransform and validate parameters.30 min
  3. Day 8ExceptionsThrow meaningful errors; Nest turns them into responses.25 min
  4. Day 9GuardsDecide who may reach a route.35 min
  5. Day 10Project: Validated ordersDTOs, pipes, exceptions and a guard together.45 min

Unit 3: Professional Nest

Configuration, custom providers, testing, data and architecture.

  1. Day 11Configuration and custom providersuseValue, useFactory and injection tokens.30 min
  2. Day 12Testing with mocksTest a service in isolation by faking its dependencies.35 min
  3. Day 13Data access and repositoriesKeep the database behind an interface.35 min
  4. Day 14The Nest toolboxMiddleware, interceptors, Swagger, the CLI and beyond.20 min
  5. Day 15Capstone: Menu admin APIFeature module, DTOs with PartialType, guard and repository.60 min

Before you start

These courses make NestJS easier:

See all courses

Built with ❤️ by dibe.sh