Express provides a lightweight module that wraps the functionality of the Node.js http
module in a simple-to-use interface. Express also extends the functionality of the http
module by making it easy for you to handle server routes, responses, cookies, and HTTP request statuses. This chapter shows you how to implement Express as the webserver for your Node.js applications. You will learn how to configure the Express server, design routes, and utilize the Request
and Response
objects to send and receive HTTP requests. You will also get a look at how to implement template engines in Express.