MERN Authentication Tutorial #2: The Backend | NodeJS, Express, MongoDB

Опубликовано: 19 Февраль 2026
на канале: You Suck At Coding
2,952
68

Welcome back to this tutorial series! In this video, we'll be covering the Backend for our MERN Authentication application.

🔴 GitHub: https://github.com/banishnarang/yt-me...

🔴 MERN Authentication Tutorial #1 - The Frontend:    • MERN Authentication Tutorial #1: The Front...  
🔴 How to set up a MERN Stack Project from Scratch:    • How to set up a MERN (MongoDB, Express, Re...  

Timestamps:
00:00 - Intro
00:15 - Getting up to this point
00:41 - Running the project & Installing packages
01:42 - Creating the User Schema
04:11 - Password Hashing
07:40 - Importing and use packages in app.js
09:02 - Creating the Register API
14:24 - Testing the Register API with Postman
16:02 - Creating and adding the Register Middleware with Express Validator
22:49 - Re-testing the Register API (middleware) with Postman
24:36 - Creating the Login API
31:02 - Testing the Login API with Postman
32:06 - Creating the Logout API
33:05 - Testing the Logout API with Postman
33:40 - Creating the Get User API (verify token & get user by id middleware)
40:20 - Testing the Get User API with Postman
41:30 - Outro



⭐️ Hashtags ⭐️
#NodeJS #ExpressJS #MongoDB #Mongoose #JsonWebToken #Crypto
#ExpressValidator #Authentication #Login #Signup #Logout #Backend #API #MERN