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

YouTube

Learn the MERN Stack - Express & MongoDB Rest API

Traversy Media via YouTube

Overview

This course teaches how to create a RESTful API from scratch using Node.js, Express, MongoDB, and Mongoose. The learning outcomes include understanding how a REST API works, setting up project folders, creating routes, controllers, and models, connecting to MongoDB, handling errors, and implementing CRUD operations. The course focuses on practical implementation through coding examples and covers skills such as setting up an Express server, working with environment variables, handling asynchronous operations, and interacting with a MongoDB database. The teaching method involves a hands-on approach with step-by-step guidance on building a functional API. This course is intended for individuals interested in backend web development, particularly those looking to learn about building RESTful APIs using the MERN stack.

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

Reviews

Start your review of Learn the MERN Stack - Express & MongoDB Rest API

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.