RESTful API From Scratch Using Node, Express and MongoDB
Offered By: Traversy Media via YouTube
Course Description
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
Related Courses
MongoDB for Node.js DevelopersMongoDB University Introduction to Office 365 Development and APIs
Microsoft via edX Server-side Development with NodeJS
The Hong Kong University of Science and Technology via Coursera Front-End Web UI Frameworks and Tools
The Hong Kong University of Science and Technology via Coursera Introduction to MongoDB using the MEAN Stack
MongoDB via edX