express-hello-world Flashcards
1
Q
How do you mount a middleware with an Express application?
A
app.use() 2 arguments 1. middleware function 2. optional path
2
Q
Which objects does an Express application pass to your middleware to manage the request/response lifecycle of the server?
A
the request object, the response object, and the next function.