NestJS practice
15 exercises and 19 quizzes from the lessons of this track. Sample tests run in your browser; what you pass is kept in this browser only.
Getting started with NestJS 12
Controllers, routing and versioning
Providers and dependency injection
- Build providers in dependency order, as Nest does
- Quiz: Providers and constructor injection
- Resolve the four provider recipes
- Quiz: Custom providers, tokens and factories
- Predict the instances request scope builds
- Quiz: Injection scopes: singleton, request and transient
- Count what durable trees build
- Quiz: Durable providers for multi-tenant Nest apps
- Find every import cycle before the app starts
- Quiz: Circular dependencies, forwardRef and ESM
- Build a registry from discovered handlers
- Quiz: ModuleRef, lazy modules and the discovery service
Modules, dynamic modules and lifecycle
- Find a provider the way Nest does, module by module
- Quiz: Modules, encapsulation and shared modules
- Check a module's options once, while the app starts
- Quiz: Dynamic modules and ConfigurableModuleBuilder
- Predict the order of lifecycle hooks across modules
- Quiz: Lifecycle hooks and shutdown signals
- Run a standalone job, close it and report how it ended
- Quiz: Standalone apps, CLI commands and the REPL
Pipes, validation and DTOs
Results here are what this browser has checked: feedback for you, not proof. They stay on this device; your Learn progress can be exported to a file. · Back to the NestJS track