Express and Middleware - 402-advanced-javascript-traebennett/seattle-javascript-401d31 GitHub Wiki

Express is built in to handle your request and response between the client and the server. Using middle ware, think of it like a linked list. Your middleware would your .next() or your pointer to your next node, or in express's case, the next action or method to take. Using Middleware methods can dratically change your code and your webiste pathing. But it also allows you to make alot more changes easily, or to redirect information based on how your website function, or based on how the client is using it.