c1120 > express-hello-world > Flashcards
How do you mount a middleware with an Express application?
Using the use( ) method.
Which objects does an Express application pass to your middleware to manage the request/response lifecycle of the server?
The “res” and “req” object.