reading-notes


Project maintained by mr-atta Hosted on GitHub Pages — Theme by mattgraham

Readings: Express REST API

Review, Research, and Discussion

  1. Name 3 real world use cases where you’d want to change the request with custom middleware ?
  1. True or false: The route handler is middleware?
  1. In what ways can a middleware function end the process and send data to the browser?
  1. At what point in the request lifecycle can you “inject” middleware?
  1. What can cause express to error with “Request headers sent twice, cannot start a second response”

📁
📁
📁 📁



ES6 Classes 📁

Using Express Routing 📁

Express Routing 📁



What can a middleware function do? 📁



….