How to Add JWT Authentication, User Registration and Login in Django Rest Framework Ecommerce API

Опубликовано: 28 Сентябрь 2024
на канале: Faith Olusegun
10,775
141

JWT Authentication, User Registration and Login in Django Rest Framework Ecommerce API

So we are still on our Django Rest Framework Ecommerce API series,
in this video, we created a UserRegistrationEndpoint

Link to the project git repo https://github.com/propenster/youtube...

Video 1: Lets Create an Ecommerce API with Django and Django Rest Framework -    • Lets Create an Ecommerce API with Dja...  

Vieo 2: Lets Add Token Authentication To our Django REST Framework Ecommerce API -    • Lets Add Token Authentication To our ...  

Video 3: Lets Add Cors and Implement a Cart Feature in our Django REST Framework Ecommerce API -    • Lets Add Cors and Implement a Cart Fe...  

Video 4: How to Add JWT Authentication, User Registration and Login in Django Rest Framework Ecommerce API -    • How to Add JWT Authentication, User R...  


STEP:
+ install djangorestframework_simplejwt
+ setup DEFAULT_AUTHENTICATION_CLASSES config in settings.py
+ write RegistrationSerializer and RegistrationAPIView
+ Test

Buy me a coffee: https://www.buymeacoffee.com/propenster