O'Reilly logo

Node.js, MongoDB and Angular Web Development, 2nd Edition by Caleb Dayley, Brendan Dayley, Brad Dayley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required