/django-assignment-jwt

Api with Jwt authentication

Primary LanguagePython

django-assignment-jwt


Quick OverView in Video Folder --> Click to Video
Lets Start -->
If You are here I am assuming you have python already installed
Start by -->
1. pip install -r requirements.txt
2. open cmd and run
python manage.py makemigrations
3. python manage.py migrate
4. python manage.py collecstatic
5. python manage.py runserver
6. Open web-browser and type url --> 127.0.0.0000:8000
7. Click on register now button and register yourself

Important Files/Folders -->

users/ --> main app
views --> main login
urls --> setting the path / mapping

Api used for data --> https://jsonplaceholder.typicode.com/posts

To obtain token --> 127.0.0.0000:8000/api-token-auth/
To refresh token --> 127.0.0.0000:8000/api-token-refresh/
To verify --> 127.0.0.0000:8000/api-token-verify/