Creating a REST API with Node.js

4.2 Average Customer Rating

Learn how to build a REST API using Node and MongoDB with this restaurant API project!

  • 10 Videos
  • 2 hours 46 minutes
  • 2177 Happy Students

About the course

Have you ever wanted to give third-party developers an easy way to hook into your platform’s data, allowing you to see what cool new uses for it they come up with?

Maybe you want to make life easier for your internal development projects — such as building mobile clients for your web-based product in a reproducible way.

In this course, you’ll learn to build a REST API for your app. We’ll set up our starter project — in this case, a restaurant API — and then show you how to set up API endpoints for adding data (POST requests) and retrieving data (GET requests).

Later, you’ll expand your API to enable the maintenance of data — creating endpoints that allow records to be updated or deleted.

Projects have a way of changing as development goes on. As a final step, we’ll teach you how to refactor from a restaurant API to a food truck API, restructuring the entire data model.

Aside from building your first API, in this course you’ll learn or improve skills in high-demand technologies like Node.js, MongoDB, ES6 with Babel, and more.

This is part three of a four part series. Get the full benefit by completing them in order:

  • 10 Videos
  • 2 hours 46 minutes
  • 2177 Happy Students

Courses Outline

Lesson 1: Creating a REST API with Node.js
Free
Introduction
0:55
Setting up our Node Project Skeleton
22:29
Setting up MongoDB for Node API
16:15
Adding Data (POST requests in Node)
20:09
Retrieving Data (GET requests in Node)
10:29
Updating Data (PUT requests in Node)
6:31
Deleting Data (DELETE requests in Node)
5:29
Adding features to our Node API and refactoring
41:01
Lesson 2: Authentication and Security
Setting up our User Model for Authentication in Node
14:22
Authentication Middleware and Securing Resources in Node
28:37
  • 10 Videos
  • 2 hours 46 minutes
  • 2177 Happy Students