Free course · PDF
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
What is inside
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.
Contents
Eighteen chapters.
- Introduction and philosophy
- Installation, CLI and project structure
- The three pillars: modules, controllers, providers
- Dependency injection in depth
- DTOs, pipes and validation
- The request lifecycle
- Configuration and environment variables
- Databases
- Authentication and authorisation
- Advanced framework concepts
- GraphQL, WebSockets, SSE
- Asynchronous work: queues, scheduling, events
- Testing
- Performance and going to production
- Microservices: the complete chapter
- CQRS and event sourcing
- Architecture: choosing, structuring, evolving
- 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.