Part 2 video here: • Learn The MERN Stack - JWT Authentication ...
In this video, we will create a RESTful API from scratch with Node.js, Express, MongoDB and Mongoose.
Join tamil coding watsapp group: https://chat.whatsapp.com/IqbDS5cpbK5...
Source code: https://gitlab.com/iyyoo93/mern-stack...
MongoDB: https://account.mongodb.com/account
Rest API: https://networkop.co.uk/blog/2016/01/...
Timestamps
0:00 - Intro
2:14 - How a REST API Works
5:36 - Set up the Project Folder
9:36 - Initialise GIT & Commit
10:06 - Basic Express Server
12:00 - Environment Variables
13:28 - First Route
16:00 - Routes File
20:43 - Creating a Controller
21:58 - Connecting Controller Functions
26:35 - Accepting Body Data
28:24 - Error & Exception Handling
35:34 - Express Async Handler
38:00 - Create MongoDB Database
43:20 - Connect with Mongoose
48:17 - Create a Model
51:44 - Get Goals
53:05 - Create Goal
55:21 - Update Goal
59:13 - Delete Goal
01:01:37 - Outro
#mernstack #fullstack #javascript