Django & React Session Authentication and CSRF | Part 5 - User Profile and Delete Account

Опубликовано: 29 Октябрь 2024
на канале: Bryan Brkic
6,059
86

🔥 Subscribe to my YouTube + Turn on Notification Bells!
👉    / @bryanbrkic  

Follow Me on Twitter -   / bryanbrkic  
Follow Me on IG -   / bryanbrkic  
Follow my Facebook Page -   / bryanbrkicfb  

Hey, Bryan here. I share videos that help web developers up their development skills!

Today I'll be sharing the fifth part for setting up a session based authentication system that I will help you implement using React, Redux, and Django with the Django Rest Framework. I will also be using Bootstrap for the styling in the application.

This is going to be a session based authentication system with some awesome features:
1. You will see how to implement session authentication in a Django & React app.
2. You will learn about what CSRF is and how we protect against it.
3. You will learn how to use a CSRF Token to protect your login and sign up pages.
4. You will learn how to use a CSRF Token to protect your authenticated API requests.
5. You will learn how to attach a profile to your user which you will be able to update.
6. You will learn how to add functionality for deleting a user through the user dashboard.

In this part, I will be setting up the functionality for deleting a user, and for getting the user profile as well as updating the user profile. A bonus feature will be setting up a view for retrieving all the users in order to easily see all the user's in our application.

To stay up to date with the best web development content, make sure you subscribe to My YouTube channel Today!

The final project code can be found at: https://github.com/linkedweb/session_...