Building RESTful APIs with Node.js and Express

Building RESTful APIs with Node.js and Express

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 25m | 223 MB

Discover how to create a simple, RESTful web API with Node.js—the popular JavaScript runtime environment—and the Express web framework. Emmanuel Henri demonstrates how to set up the project, including the Express server and testing environment, and create the endpoints needed to add, update, and delete data from a MongoDB database. At the end of the course, he shows how to serve static files such as images with your new API, and explores additional libraries that can help streamline API development, such as Koa and LoopBack.

Topics include:

  • Setting up a project and a server
  • Setting up a database and schema
  • Creating POST, GET, PUT, and DELETE endpoints
  • Serving files
Table of Contents

1 Building a REST API with Node and Express
2 What you should know
3 Brief introduction of the libraries
4 Introduction to your project
5 Introduction to Postman
6 Install Node and Express
7 Install Mongo
8 Basic Babel ES6 setup
9 RESTful APIs refresher
10 Initial server setup
11 Initial server files and folders
12 Basic routing endpoints
13 Basics of middleware and uses
14 MongoDB basics refresher
15 Database setup
16 Schema setup
17 Create POST endpoint
18 Create all items GET endpoint
19 Create specific ID GET endpoint
20 Create PUT endpoint
21 Create DELETE endpoint
22 Static files serving
23 Other potential libraries for API
24 Next steps