Complete Tutorial to Authentication with Angular + MongoDB
ฝัง
- เผยแพร่เมื่อ 19 ก.ค. 2024
- This video is a complete tutorial on Angular Authentication with MongoDB.
In the video, we will cover how you can set up an authentication table with MongoDB, and how to connect
the application to allow sign-up, login, logout and automated authentication.
Link to source code: github.com/4neesh/TH-cam-Cha...
🕒 Timestamps 🕒
00:00 - Introduction
00:46 - Generate View Components
06:43 - Storing users with MongoDB
10:06 - Hashing user password
12:12 - MongoDB and Angular connection
12:51 - Create the Login endpoint
28:30 - Storing the web token
29:53 - Enriching HTTP requests
34:52 - Token Verification
36:58 - UI Enhancements for actions
41:09 - Removing edit and delete buttons
44:05 - User redirection
44:46 - Route Guarding
48:39 - Logging out
52:02 - Timed Logout
54:22 - Automated Login
Please like, subscribe and leave a comment to let me know what you think!
Visit my website for all my blogs and videos on software engineering: www.aneesh.co.uk
Icon made by FreePik from www.flaticon.com - วิทยาศาสตร์และเทคโนโลยี
Thank you
I have tried at least 10hours of tutorials and none worked, this was my last hope and it didnt dissapoint me....
thank you veryyyyy much
You're welcome!
Wow thank you sooo much! One of the easiest tutorials to follow and the perfect amount of detail. This has saved me a lot of time. Looking forward to watching your other tutorials
I don't suppose you could tell me how to retrieve the id generated in mongoDb for the user?
What a great tutorial 🤩 !!
Thank u so much for these efforts
Thank you!