Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Building RESTful APIs with Node.js and Express

via LinkedIn Learning

Overview

Find out how to build a simple, RESTful web API using Node.js, Express, and MongoDB.

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.

Syllabus

Introduction
  • Building a REST API with Node and Express
  • What you should know
1. Setting Up
  • Brief introduction of the libraries
  • Introduction to your project
  • Introduction to Postman
  • Install Node and Express
  • Install Mongo
  • Basic Babel ES6 setup
2. Initial Server Build
  • RESTful APIs refresher
  • Initial server setup
  • Initial server files and folders
  • Basic routing endpoints
  • Basics of middleware and uses
3. CRUD Operations
  • MongoDB basics refresher
  • Database setup
  • Schema setup
  • Create POST endpoint
  • Create all items GET endpoint
  • Create specific ID GET endpoint
  • Create PUT endpoint
  • Create DELETE endpoint
4. Other API Options
  • Static files serving
  • Other potential libraries for API
Conclusion
  • Next steps

Taught by

Emmanuel Henri

Related Courses

Reviews

Start your review of Building RESTful APIs with Node.js and Express

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free