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/โฆ
Watch on YouTube โ
(saves to browser)
Chapters (20)
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
Playlist
Uploads from Traversy Media ยท Traversy Media ยท 0 of 60
โ Previous
Next โ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Font Dragr
Traversy Media
Build a Joomla 2.5 Blog
Traversy Media
Install Wordpress on XAMPP
Traversy Media
Create a Custom Joomla Component
Traversy Media
Install Joomla 3 0
Traversy Media
Install Rails on Windows 7
Traversy Media
Convert an HTML Template to Joomla 2.5/3.0 - Part One
Traversy Media
Convert an HTML Template to Joomla 2.5/3.0 - Part Two
Traversy Media
Rockettheme Rocketlauncher Joomla Site in Under 10 Minutes
Traversy Media
Free Joomla Templates - 2.5 & 3.0
Traversy Media
My Sites - Joomla 2.5 Component Setup
Traversy Media
Notepad Plus Installation with FTP Plugin
Traversy Media
JQuery FAQ Slider Tutorial
Traversy Media
Add Facebook Login To Jomsocial
Traversy Media
301 Redirect With htaccess File
Traversy Media
Secure FTP Login With Private Access Key
Traversy Media
Convert HTML to Wordpress Theme - Part 1
Traversy Media
Convert HTML to Wordpress Theme - Part 2
Traversy Media
Easy JQuery Widgets
Traversy Media
Installing Git on Windows
Traversy Media
Parse JSON With PHP
Traversy Media
Codeigniter App Part 1 - Creating the Database
Traversy Media
Codeigniter App Part 3 - Home Controller and View
Traversy Media
Codeigniter App Part 2 - Installation and Configuration
Traversy Media
Codeigniter App Part 5 - Form Validation
Traversy Media
Codeigniter App Part 4 - Form Helper
Traversy Media
Codeigniter App Part 6 - Login/Register System
Traversy Media
Codeigniter App Part 7 - Models List CRUD
Traversy Media
Codeigniter App Part 8 - Models Task CRUD
Traversy Media
Codeigniter App Part 9 - Relational Table Joins
Traversy Media
Codeigniter App Part 10 - Finishing Our App
Traversy Media
Node.js Part 1 - Install NodeJS on Windows
Traversy Media
Node.js Part 3 - Building a Static Page Server
Traversy Media
Node.js Part 4 - NPM
Traversy Media
Node.js Part 2 - Install MongoDB in Windows
Traversy Media
Create a Joomla Quickstart with Custom Sample Data
Traversy Media
Install MongoDB in Ubuntu
Traversy Media
HTML5 Web Storage
Traversy Media
Install XAMPP In Windows 7
Traversy Media
Install Python 3.3 On Windows 7 in 2 1/2 Minutes
Traversy Media
Create a Joomla Bootstrap Template From Scratch
Traversy Media
Hosts File - Temporarily Assign Domain Name to IP Address
Traversy Media
Easily migrate a Joomla site with Akeeba
Traversy Media
Ubuntu Server 14.04 Setup Part 1 - Installation
Traversy Media
Ubuntu Server 14.04 Setup Part 2 - Change Hostname
Traversy Media
Ubuntu Server 14.04 Setup Part 3 - Set Static IP
Traversy Media
Ubuntu Server 14.04 Setup Part 4 - Samba File Server
Traversy Media
Ubuntu Server 14.04 Setup Part 5 - Install OpenSSH
Traversy Media
Create A Wordpress Widget - Part 1
Traversy Media
Create A Wordpress Widget - Part 2
Traversy Media
Create A Wordpress Widget - Part 3
Traversy Media
Create A Wordpress Widget - Part 4
Traversy Media
Get Started With Sass on Windows
Traversy Media
Build An HTML5 Template With Bootstrap and SASS - Part 1
Traversy Media
Build An HTML5 Template With Bootstrap and SASS - Part 6
Traversy Media
Build An HTML5 Template With Bootstrap and SASS - Part 4
Traversy Media
Build An HTML5 Template With Bootstrap and SASS - Part 5
Traversy Media
Build An HTML5 Template With Bootstrap and SASS - Part 3
Traversy Media
Build An HTML5 Template With Bootstrap and SASS - Part 2
Traversy Media
Build An HTML5 Template With Bootstrap and SASS - Part 7
Traversy Media
DeepCamp AI