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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 7

  • @2tired4
    @2tired4 29 วันที่ผ่านมา +1

    Thank you

  • @randomdude4255
    @randomdude4255 หลายเดือนก่อน +1

    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

    • @AneeshMistry
      @AneeshMistry  หลายเดือนก่อน

      You're welcome!

  • @htyler6625
    @htyler6625 10 หลายเดือนก่อน +1

    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

    • @htyler6625
      @htyler6625 10 หลายเดือนก่อน

      I don't suppose you could tell me how to retrieve the id generated in mongoDb for the user?

  • @Rescco1
    @Rescco1 ปีที่แล้ว +1

    What a great tutorial 🤩 !!
    Thank u so much for these efforts