O'Reilly logo
  • Patrick S thinks this is interesting:

  • logger('dev'): The logger middleware simply performs a console.log() output of any request that is received by the server. This is very helpful for debugging your node server.
  • bodyParser: This helps facilitate the packing of any form fields that are submitted via an HTML form submission from a browser. Form fields that are submitted via a POST request will be made available via the req.body property.
  • From

    Cover of Web Development with MongoDB and Node.js


    Middleware explanation