In this tutorial, you'll learn how to Create a complete nodejs and express api from scratch.
Hostinger Discount: https://www.hostg.xyz/SH8cs
This is the 2nd part of a 3 part MERN Stack Blog App series. Links to the 1st and 3rd video should be below (if you're watching this a two weeks after this upload).
2024 React Portfolio Website Discount: https://www.udemy.com/course/react-js...
You'll learn how to implement JWT Authentication for secure and seamless user access using json Web Token. Uuid to create unique strings for images, express-fileupload to help use with image uploads, bcryptjs for password encryption, dotenv for environment variables, mongoose to communicate with MongoDB database, express as our nodejs framework, and more.
Real-world CRUD Operations: Create, read, update, and delete posts/articles that persist to MongoDB.
Register, Login, and edit user details. Users will be able to update their Profile Image, Upload Images when creating posts, update post images/thumbnail, delete images, and manage posts seamlessly.
Become a Patron: / egator
Get SOURCE CODE (Frontend, Backend and Full Project Source code): https://www.buymeacoffee.com/egator/e...
Part 1 (React Frontend): • Responsive React Blog App Tutorial | ...
MERN Stack Playlist: • Responsive React Blog App Tutorial | ...
Timestamps
00:00 Intro (Project Demo)
12:55 Prerequisites
17:25 Connecting to MongoDB
23:35 Main Routes
27:45 User Controllers
32:30 User Routes
34:35 404 & Error Middleware
40:20 Testing User Routes using Postman
46:42 User Model
48:54 Register User
01:01:20 Login User
01:08:50 Get User (Profile)
01:11:43 Get Users/Authors
01:12:54 Change User Avatar
01:26:45 Auth Middleware
01:32:20 Edit User
01:47:30 Post Controllers
01:52:00 Post Routes
01:54:00 Testing Post Routes using Postman
02:00:13 Post Model
02:03:56 Create Post
02:18:00 Get Posts
02:20:00 Get Single Post
02:21:45 Get Posts by Category
02:23:34 Get Posts by Author
02:28:06 Edit Post
02:40:50 Delete Post