Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. Explain the role of middleware in Express apps... Middleware are functions used to modularize server-side code into specific-task chunks
  2. ... from the curriculum: Middleware is the organizing principle of Express apps. An Express app is a stack of middleware functions that requests are sent through. Each function in the stack has access to a request object, a response object, and a next function which can be called to pass control to the next middleware function in the stack.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement