Complete NestJS Coursefrom zero to very advanced.

A free course by Samuel Mbabhazi that goes from your first NestJS route to a distributed system: dependency injection, validation, the request lifecycle, databases, authentication, GraphQL, queues, testing, production, microservices, CQRS and how to choose an architecture. Written for NestJS 12.

  • 92 pages
  • Written for NestJS 12
  • Updated September 16, 2026

Free, no sign-up.Certified on the official NestJS course

From the first route to a distributed system.

Fundamentals, properly

Modules, dependency injection, validation and the exact order of the request lifecycle, with the mistakes that break each of them.

Production habits

Configuration, databases, authentication, queues, tests against real databases, and the checklist for going live.

Microservices, the complete chapter

TCP, Redis, NATS, RabbitMQ, Kafka and gRPC compared, then outbox, sagas, idempotency and distributed tracing.

Architecture you can defend

Modular monolith, vertical slices, hexagonal and DOMA, with what Shopify, Netflix, Uber and Prime Video actually did.

Every chapter ends with exercises, and a capstone project, Kivu Commerce, ties them all together.

Eighteen chapters.

  1. Introduction and philosophy
  2. Installation, CLI and project structure
  3. The three pillars: modules, controllers, providers
  4. Dependency injection in depth
  5. DTOs, pipes and validation
  6. The request lifecycle
  7. Configuration and environment variables
  8. Databases
  9. Authentication and authorisation
  10. Advanced framework concepts
  11. GraphQL, WebSockets, SSE
  12. Asynchronous work: queues, scheduling, events
  13. Testing
  14. Performance and going to production
  15. Microservices: the complete chapter
  16. CQRS and event sourcing
  17. Architecture: choosing, structuring, evolving
  18. Capstone project: Kivu Commerce

Build it, break it, rebuild it.

The course is free. If it helps you or something is unclear, I would like to hear about it.