Coding task · NestJS course · Module 2: Routing and Request Lifecycle

Middleware in the Request Lifecycle

Create a logging middleware as the first stage of the pipeline.

Task

Write a LifecycleLoggerMiddleware that logs the request method and path, then calls next()