18Implementing Express in Node.js

Express is 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 to make it easy for you to handle server routes, responses, cookies, and statuses of HTTP requests. This chapter gets you started implementing Express as the webserver for your Node.js applications. You learn how to configure the Express server, design routes, and use the Request and Response objects to send and receive HTTP requests. You also get a look at how to implement template engines in Express.

Getting Started with Express

It is simple to start using Express in your Node.js projects. All you need to do is add the express module ...

Get Node.js, MongoDB and Angular Web Development, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.