Learn the MERN Stack - Express & MongoDB Rest API
Offered By: Traversy Media via YouTube
Course Description
Overview
Create a RESTful API from scratch using Node.js, Express, MongoDB, and Mongoose in this comprehensive tutorial video. Dive into the fundamentals of REST API development, starting with project setup and Git initialization. Learn to build a basic Express server, implement environment variables, and create routes. Master controller creation, handle body data, and implement error handling. Explore MongoDB integration with Mongoose, including database creation and model definition. Develop essential CRUD operations for managing goals, covering GET, CREATE, UPDATE, and DELETE functionalities. Follow along with detailed explanations and step-by-step guidance to build a fully functional backend API for your MERN stack applications.
Syllabus
- Intro.
- How a REST API Works.
- Set up the Project Folder.
- Initialize GIT & Commit.
- Basic Express Server.
- Environment Variables.
- First Route.
- Routes File.
- Creating a Controller.
- Connecting Controller Functions.
- Accepting Body Data.
- Error & Exception Handling.
- Express Async Handler.
- Create MongoDB Database.
- Connect with Mongoose.
- Create a Model.
- Get Goals.
- Create Goal.
- Update Goal.
- Delete Goal.
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