Build a web API with Node.js and Express

Beginner
Developer
Student
Azure

Use Express for Node.js to build RESTful APIs. Create and configure middleware to add things like logging, authentication and authorization, and other web development technologies. This module uses JavaScript (CommonJS) with the Express.js server framework in the Node.js runtime.

Learning objectives

By the end of this module, you'll be able to:

  • Describe the core concepts of the web framework Express
  • Configure middleware to control how a request is handled
  • Respond to HTTP requests with different types of content like text and JSON
  • Send data to an Express endpoint

Prerequisites

  • A web browser to use the Codespace dev contain
  • Familiarity with editing text and code files in any text editor
  • Basic familiarity with the HTTP protocol
  • Experience using the command line, including Git operations