Build a Full Stack Authentication App from start to finish with this Authentication tutorial. Learn everything you need to know about Node.js and REST API with MongoDB database and make CRUD operations.
We will use ReactJS as frontend to make our queries and mutations.
Learn everything you need to know about Authentication & Authorization in this tutorial.
Source Code:https://github.com/Kareem2002Shimes/a...
🚩 Subscribe ➜ / @simplearabcode
☕ Buy Me A Coffee ➜ https://www.buymeacoffee.com/kareem4s...
👇 Follow Me On Social Media:
Github: https://github.com/Kareem2002Shimes
facebook: https://www.facebook.com/profile.php?...
LinkedIn: / kareem-shimes-6a9b3a200
🔗 All Resources for this Authentication Project:
https://github.com/Kareem2002Shimes/A...
🔗 Playlist for this Authentication & Authorization Series:
• The Complete Guide to master Authenti...
📚 Suggested Pre-requisites:
🔗 ReactJS for Beginners full course:
• Learn React JS in Arabic
🔗 ReactJS Projects:
• React JS Projects
Was this Intro to the Authentication Project tutorial helpful? If so, please share. Let me know your thoughts in the comments.
⏱️ Timestamps:
(00:00) Intro
(01:39) Creating a Node.js Project & Setting Up Our IDE
(18:14) Creating Express Server
(23:18) Connect to MongoDB
(30:09) Adding Cors to our Server
(40:49) First endpoint (API)
(45:04) Building Root Route
(53:48) Adding Error Handling
(01:00:42) Creating Auth Routes
(01:04:21) Creating Mongoose Schema
(01:08:40) Creating Register Middleware
(01:30:57) Test Register endpoint using Postman
(01:34:41) Creating Login endpoint
(01:41:05) Test Login endpoint using Postman
(01:43:33) Creating User Route
(01:46:01) Creating getAllUsers Middleware
(01:51:10) Verifying token
(02:07:50) Test Refresh endpoint & get new access token
(02:27:08) Creating logout endpoint
(02:33:17) adding .gitignore to protect env
(02:34:49) uploading project to GitHub
(02:38:45) Deploying Server to Render
(02:45:31) Test Live Server in Postman