express-hello-world Flashcards
1
Q
How do you mount a middleware with an Express application?
A
use the .use method and you can pass in a path or/and callback function
2
Q
Which objects does an Express application pass to your middleware to manage the request/response lifecycle of the server?
A
request, responses, and next objects