MERN Stack Advanced Authentication Tutorial

preview_player
Показать описание
In this video you will learn exactly how to implement authentication and authorization in you next MERN stack build. We will be looking at concepts like login and register authentication, hashing password and storing them securely, generating JWT and storing it in the frontend. We will see how we can create private routes in ReactJs. Next we will look at how to handle password reset and sending emails to the users using Nodemailer and SendGrid.

This video is packed with important information and if you found it helpful please remember to give this video a THUMBS UP and subscribe for more content just like this.

If you got stuck or did not understand something in the video please don't be afraid to leave a comment and i will get back to you as soon as i can. Hope y'all have a amazing day 🤓

Timestamps
============
0:00:00 Intro & Demo
0:04:08 Project Folder Structure Setup
0:13:22 Initial Routes & Controllers Setup
0:23:02 User Model
0:27:40 Auth Controller Logic Part 1
0:50:04 Custom Error Handling Middleware
1:01:55 Generating JWT and creating protect middleware
1:23:15 Auth Controller Logic Part 2
1:33:13 Setting up emailing
1:55:36 Frontend File Cleanup
1:57:58 Setting Up Routing
2:02:04 Creating Private Route
2:06:15 Finishing Frontend Build
2:43:10 Final Project Demo

My personal website
=================
Рекомендации по теме
Комментарии
Автор

this course is kinda a fundamental for me ... every time I'm lost i come back here
thanks man

abderrezaguemohamed
Автор

This guy is a BEAST at teaching! Everything he says makes sense and is beautifully explained. I've paid well over $100 on courses that fail to hit points like he does. GREAT JOB MAN! KEEP UP THE GREAT WORK!

activetradr
Автор

Tip for those, who still got CORS error using package.json proxy:
1. Install CORS middleware in the root directory with: npm install cors
2. Import to the server.js file: const cors = require('cors');
3. Then call it with other middlewares in the server.js: app.use(cors());

Although, best tutorial about MERN Stack Authentication ever! Thank You for your help!

Isticsek
Автор

Leaving you a comment to show gratitude for taking your time to do this - simply amazing, thank you.

simoncordova
Автор

Greatest complete authentication and authorization watch.

charlesgichira
Автор

Have not yet watched the video but subscribed after seeing so positive comments. Going to watch this pretty soon...

coolestCatEver
Автор

was a typing error thank it was the best backend series ever

ericnganda
Автор

I came here to see if I can get something from the authorization section of your routes, and I came away with knowledge and really impressed with how your MERN is well-structured and easy to understand! Thanks, this is really helpful and a very good one indeed!

CAPS_AMERICA
Автор

you explain very well even me as a beginner i understand

shama-_-
Автор

Thankyou so much man
I don't know why this channel is underrated.
By the way ALL THE BEST BRO 👍

vaninemali
Автор

Hey, the video is certainly not too long, and I really appreciate the fact that in one single video you get done the whole project. Thanks man, amazing work and amazing video. Regards from Colombia

octe-es
Автор

What a great course !!! Really I learnt too many things from this tutorial !!! Awesome work

kimse
Автор

You are an amazing teacher my friend. Keep up the amazing work and 100k subs coming very soon !

umairqamar
Автор

this is the best tutorial ever..4 days to finish the tutorial with solid understanding.7 days doing without looking at tutorial. Now i can clearly remember the process, logic and also code.Thanks dude.This channel should be at 2.5 millions subscriber

nasxmo
Автор

i just got into MERN-STACK and struggled with auth. I just watched the first 40mins and learned so much already ^^ thank you so much for this video <3 Of course it takes a while to fully understand it perfectly but this is such a good guide/roadmap for auth. Also everything so far is so clean and good structured!!! i love it

avaplain
Автор

i have not words to express my feelings when i saw your project.seriously amazing...best ever video on authentication i ever of thanks.

usmanbaig
Автор

i wanna see more CSS stuff :D awesome work btw huge hug from spain

FXY_
Автор

Best authentication video so far. Improved my error handling too which made my code easier to debug.

chillguyy.
Автор

It's a great tutorial! Complete, clear and perfect. Including the errors, it makes everything sense. I cannot wait to see what will you do next. Thank you for your time and effort!

susanaruiztech
Автор

you are awesome ✨❣️ videos like this are the reasons why I like YouTube, your channel deserves 10M+ subscribers, just wait for it, your channel will soon become huge❣️ thank you so much ❤️ stay blessed ⛄

nikkisaha
welcome to shbcf.ru