JWT Authentication System in Django and React.js Full Stack Application | Complete Project Tutorial

  Рет қаралды 5,314

Piko Can Fly

Piko Can Fly

Күн бұрын

Пікірлер: 36
@kristijanstojanovski5195
@kristijanstojanovski5195 5 ай бұрын
These videos are quite nice and serve as a great guidance! However it would be amazing if you could also give short explanations on what's happening in the background and shed light on some of the in-built DRF functionalities to make everything a bit clearer! Keep up the good work! :)
@MarcoBustos-oe1bv
@MarcoBustos-oe1bv 5 ай бұрын
I would like you publish more videos about django, you helped me with another videos...thanks very much. Greetings from Arica, CL ❤
@PikoCanFly
@PikoCanFly 5 ай бұрын
Very happy to hear the videos helped! 😃 Thank you for your encouraging comment! 😊
@OlajireStephen
@OlajireStephen Ай бұрын
Thank you for the simplicity of this video. Pls how do we handle the access token when it expires to avoid login out the user
@bymrfireball6573
@bymrfireball6573 3 ай бұрын
This video gave me another life, thank you very much :')
@davidmukoro1166
@davidmukoro1166 12 күн бұрын
Great. Can you modify it such that we use cookie which is more secure compare to localstorage?
@coff3andprograming
@coff3andprograming Ай бұрын
New subscriber, you have very good content
@PikoCanFly
@PikoCanFly Ай бұрын
Thank you so much
@HAverroes
@HAverroes 5 ай бұрын
Awesome! ❤
@PikoCanFly
@PikoCanFly 5 ай бұрын
Thank you!
@Anelka465
@Anelka465 Ай бұрын
Great video, can you add or show us in a video how to store the tokens in state other than local storage.😊
@Anelka465
@Anelka465 Ай бұрын
Since it'll help secure user's information
@alexdin1565
@alexdin1565 4 ай бұрын
thats amazing please can you add a video on how we can deploy this on server?
@PikoCanFly
@PikoCanFly 4 ай бұрын
Thank you! I am considering making videos on deployment at some point in the future - I have a long to do list though so fingers crossed 😅
@DanielMartinez-we1lr
@DanielMartinez-we1lr 4 ай бұрын
Thank you mush Piko your video help me to understand the process of backend in Django and frontend in React, but I have question regarding the the forms, login and register is necessary to use CSFT to avoid vulnerabilities or only using JWS. I other words we need to protect the forms. Thank you again for your explanation : )
@PikoCanFly
@PikoCanFly 4 ай бұрын
Hello, thank you for you comment. I am glad my video helped. Incorporating CSRF protection is indeed important. One common approach is to use CSRF tokens in your React application and include them in the headers of your requests to the Django backend. Django provides a view (django.middleware.csrf.get_token) that you can use to retrieve the CSRF token. You can read more about that in Django's Official Docs: docs.djangoproject.com/en/5.0/ref/csrf/
@codedjango
@codedjango 5 ай бұрын
Amazzzing....thank you so much
@PikoCanFly
@PikoCanFly 5 ай бұрын
I am so glad you like it! 😊
@400DaysWithGaurav
@400DaysWithGaurav Ай бұрын
This was the simplest tutorial
@PikoCanFly
@PikoCanFly Ай бұрын
Glad you found it helpful. :)
@400DaysWithGaurav
@400DaysWithGaurav Ай бұрын
@@PikoCanFly Please make more content around Django rest framework and React Js
@miladypop8549
@miladypop8549 4 ай бұрын
Большое спасибо за помощь в обучении
@TechnicalSuperNova
@TechnicalSuperNova 4 ай бұрын
Can you make a video on Stripe payment gateway on Django REST Framework and React with Vite.
@PikoCanFly
@PikoCanFly 3 ай бұрын
Hey I know it's been ages but this is the first time I see this comment. This is a good suggestion. I will definitely think about it. 😊
@navaneeth9103
@navaneeth9103 3 ай бұрын
should venv folder stay inside django project or along with it outside
@PikoCanFly
@PikoCanFly 3 ай бұрын
Outside. In your project's root directory.
@navaneeth9103
@navaneeth9103 3 ай бұрын
i have not started the project but does doing this give us session also like i want the app to have user logged in . i am a beginner
@PikoCanFly
@PikoCanFly 3 ай бұрын
Yes this project features JWT sessions and authentication management.
@navaneeth9103
@navaneeth9103 3 ай бұрын
is this how profuction grade live projects do auth too , do they set items like this in localstorage
@PikoCanFly
@PikoCanFly 3 ай бұрын
Using local storage for tokens like JWTs is commonly used however it is sometimes regarded as risky because it can be compromised through XSS attacks; Ensuring your site is free from XSS can mitigate this risk.
@navaneeth9103
@navaneeth9103 3 ай бұрын
@@PikoCanFly thank u . i saw in an article that we can use httonly cookies, will u be able to do a video on that . also in this project token is getting expired , how can we implement proper refreshing in react like axios intercepors or authcontext with jwtdecode and timer to refresh ,
@zensumarai
@zensumarai 5 ай бұрын
hy pico i am here your subs
@Sai-vp7mv
@Sai-vp7mv 5 ай бұрын
Mam increase your code font size
@PikoCanFly
@PikoCanFly 5 ай бұрын
Will do for future videos 😊
@shubhamranjan4596
@shubhamranjan4596 4 ай бұрын
can I get ur api endpoints so I can use it mam?
@PikoCanFly
@PikoCanFly 4 ай бұрын
Hi, the routes are defined in urls.py.
BUILD YOUR OWN NPM
39:56
vmcode
Рет қаралды 6
Man Mocks Wife's Exercise Routine, Faces Embarrassment at Work #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 6 МЛН
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 21 МЛН
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 91 МЛН
Don't look down on anyone#devil  #lilith  #funny  #shorts
00:12
Devil Lilith
Рет қаралды 23 МЛН
Building the Ultimate Nike App in React Native & Redux
3:33:55
notJust․dev
Рет қаралды 192 М.
Fullstack Portfolio Project: Create Postgres Database with TypeORM
34:32
Web Developer Roadmap (2024) - Everything is Changing
25:02
ByteGrad
Рет қаралды 389 М.
Собеседование на позицию Backend Developer Python + Django Middle #1
35:38
Python собеседования
Рет қаралды 27 М.
Как Подключить React К Django?
17:19
PyLounge - программирование на Python и всё о IT
Рет қаралды 31 М.
Man Mocks Wife's Exercise Routine, Faces Embarrassment at Work #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 6 МЛН