Click in order · NestJS course · Module 1: NestJS Basics
Additional: Request Lifecycle in NestJS
Arrange the elements of the HTTP request lifecycle in NestJS in the correct order:
Items to click
- Middleware
- Guards
- Route Handler (controller method)
- Interceptors (before)
Show the answer
Correct order:
- Middleware
- Guards
- Interceptors (before)
- Route Handler (controller method)