Learn The MERN Stack – Express & MongoDB Rest API


In this video, we will create a RESTful API from scratch with Node.js, Express, MongoDB and Mongoose.

💻 Code:
https://github.com/bradtraversy/mern-tutorial

👇 Full React 2022 Course With $12.99 promo:
https://www.udemy.com/course/react-front-to-back-2022/?couponCode=REACTF2BFEB2022


👇 Website & Courses:
https://traversymedia.com

💖 Show Support
Patreon: https://www.patreon.com/traversymedia
PayPal: https://paypal.me/traversymedia

👇 Follow Me On Social Media:
Twitter: https://twitter.com/traversymedia
Instagram: https://www.instagram.com/traversymedia
Linkedin: https://www.linkedin.com/in/bradtraversy

Timestamps:
0:00 – Intro
2:41 – How a REST API Works
6:13 – Set up the Project Folder
10:11 – Initialize GIT & Commit
10:46 – Basic Express Server
12:12 – Environment Variables
13:28 – First Route
15:51 – Routes File
20:34 – Creating a Controller
24:44 – Connecting Controller Functions
26:40 – Accepting Body Data
28:41 – Error & Exception Handling
34:21 – Express Async Handler
36:46 – Create MongoDB Database
42:02 – Connect with Mongoose
47:02 – Create a Model
49:35 – Get Goals
51:30 – Create Goal
52:56 – Update Goal
55:22 – Delete Goal

The Benefits of Bringing Your Dental Practice Online

In recent years, the expansion of the internet has changed the way businesses develop and implement their marketing strategies. With so many businesses advertising online, it has become essential to add online promotion as part of the marketing plan.

Build Business Website – A Simple Checklist to Go Through Before You Start

Before you begin creating your website, it’s important to understand clearly, what you want to accomplish. This checklist will help you with that. As always, preparation is the key. You might not need to use all. Just use what works for you.

A Simple Guide to Web Programming Services

The internet has evolved dramatically over the past 10 years or so. From simple static webpages containing no more than text and images, it has transformed to highly interactive content. It has come to the point that the web may very well be your virtual desktop. This article describes the basic foundation of these websites and what makes them tick.

How to Be More Efficient With Facebook, Twitter and LinkedIn

Since there is so much emphasis on social media and getting involved in those social networks; how can you more efficient with Facebook, Twitter and LinkedIn? How are you going to manage all those accounts? We need to find ways to efficiently manage these accounts.

Challenges of Managing Off Shore Web Development Teams

Have you ever thought of challenges that may arise in managing a full fledged team of professionals who are located thousands of miles away from your official location? The problem of skillfully managing an official team of your company is quite an uphill task and can give rise to numerous problems.

You May Also Like