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

YouTube

RESTful API From Scratch Using Node, Express and MongoDB

Traversy Media via YouTube

Overview

Learn to build a complete RESTful API from scratch using Node.js, Express, and MongoDB. Create a full-featured web API that handles GET, POST, PUT, and DELETE operations for JSON data through HTTP requests. Follow along step-by-step to set up the development environment, create a Node.js application, establish a MongoDB database connection, and implement API routes for managing books and genres. Explore essential concepts such as creating models, handling HTTP methods, implementing body parsing, and testing API endpoints. By the end of this comprehensive tutorial, gain the skills to develop and deploy your own robust RESTful API for managing a bookstore's data.

Syllabus

Introduction
Installation
Create NPM
Create App KS
Create Node App
Create MongoDB Database
Create API Route
Create Genre Variable
Add Genre to Route
Access Genre Object
Create Book Model
Methods
Get a single book
Get book by ID
Get genre
Get post
Test
BodyParser
Add Books
Publish Pages
Genre Model
Copy Post
Copy Genre ID
Copy Book ID
Get Book ID

Taught by

Traversy Media

Reviews

Start your review of RESTful API From Scratch Using Node, Express and MongoDB

Never Stop Learning.

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

Someone learning on their laptop while sitting on the floor.