...

/

Introduction to Express

Introduction to Express

Get an overview of Express

By the end of this chapter, we’ll be able to do the following:

  • Install and use Express to handle HTTP requests.
  • Build a RESTful API with Express.
  • Utilize the Node Package Manager (npm) to install and manage Node.js package dependencies.

For this lesson, we should have basic knowledge of server-side concepts.

Express overview

Node.js is commonly used as a web server to serve up websites, JSON, and more. Express is a popular server-side framework for building web applications on Node.js.

Express provides a lightweight abstraction over the Node.js HTTP modules and convenience methods for creating routing, views, and middleware.

In this chapter, we’ll build a RESTful API that allows API ...