Click in order · NestJS course · Module 2: Routing and Request Lifecycle

Full Request Lifecycle Order

Arrange the FULL order of HTTP request processing in NestJS:

Items to click

  • Interceptors (before)
  • Route Handler
  • Interceptors (after)
  • Guards
  • Pipes
  • Middleware
Show the answer

Correct order:

  1. Middleware
  2. Guards
  3. Interceptors (before)
  4. Pipes
  5. Route Handler
  6. Interceptors (after)