October 2017
Intermediate to advanced
640 pages
18h 17m
English
Much of the functionality that Express brings to the table is through middleware functions that get executed between the point when the request is received by Node.js and the time that the response is sent. Express uses the connect module to provide a middleware framework that allows you to easily insert middleware functionality on a global or path level or for a single route.
The middleware provided with Express allows you to quickly support serving static files, implement cookies, support sessions, process POST data, and much more. You can even create your own custom middleware functions that can be used to preprocess the requests and provide your own functionality.
This chapter focuses on the basics of ...
Read now
Unlock full access