Register and Login Tutorial | ReactJS, NodeJS, MySQL - Cookies, Sessions, Hashing

preview_player
Показать описание
-
I decided to make 3 videos talking about login/register and authentication. This video is a very simple beginners version of a register/login page. It includes registering users, inserting data into a DataBase, and reading the data to allow a login. The second video will include sessions, passportJS, and hashing passwords. The final video will be on authenticating using JSON Web Tokens (JWT).

Tech Stack: ReactJS, NodeJS, Express, MySQL
-
Please leave a comment on what topic you guys want me to cover next!

SUBSCRIBE!

Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

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

0:00 Bcrypt tutorial
11:00 Cookie and session

Aziqfajar
Автор

Funny how I come back to this video. Previously I watched it to help me get into an intership. Now I'm watching it again in an amazing job. Thanks dude.

lucylu
Автор

Pedro you`re a truly teacher, i love your videos because you explain so well and teach everything excellent, greetings from Argentina!

nicolasbarcelo
Автор

Thank you Pedro, this session/authentication setup is one of those that's difficult to sink in for me, but you made it easy to understand and code. You are a legend! If I can thumb this up a thousand times i'll do it!

CAPS_AMERICA
Автор

Thanks for this. I came here for JWT. But now I am binge-watching your course

aarthikannan
Автор

Oh my God, why are you so smart? Of course, I'd got a lot of stuff to do starting from preparing front and backend, but, despite this, you helped me a lot! Much love from Kazakhstan.

wamid
Автор

Great video, man, but I've noticed one thing worth specifying:
in 16:03 you said 'this is in milliseconds", and set the value to 60 * 60 * 24. It looks like you forgot to multiply this by 1000.

arrchi-ar
Автор

telling the client the user doesnt exist is a bad idea, you don't want to give hackers any hints. Just say wrong username or password no matter what, unless of course there's an error of sorts, in which case you just send "Oops! Something went wrong."

ImDino
Автор

i loved the way u make all your video kinda modular, it save so much time, i appreciate it

arfanyoga
Автор

Thank you very much ❤️, i spent hours searching for the problem of Cors credentials then i remembered that you have a video of Login where you get session using axios and it solved it

ICTechProductions
Автор

You are the man Pedro, simple and well explained! Thank you!

bogdanmarian
Автор

Man u have every tutorial ever, thanks!

wotizit
Автор

If I want to publish my react app in the production, then I still have to use this way to keep the user logged in??? plz guide me

islamicinterestofficial
Автор

thanks Pedro... most of this tutorials are rare to find... fullstack application for React, Node and MySQL... thanks for that

samuelkamau
Автор

thanks bro this video helped me too much, small channel but with great content.

danielbravoleguia
Автор

thanks for your videos. they help me a lot. i'm still waiting for the final video xD

haquyen
Автор

Good work mate, pl keep posting videos and I'll keep learning!

saumyashah
Автор

sou brasileiro e tenho um inglês bem intermediário, mas mesmo assim consigo te entender!! Muito obrigafo pelos vídeos, estão me ajudando pra caralho

josevitormarcelino
Автор

Great work!, very complete, it would have been great if you created a button to log out and close the session. Keep it up!

DBDrumss
Автор

I had a query,

when i hosted my backend with these session and cors settings, cookies and session are not being created but the api's are working fine


any solutions?

snowflake.