Skip to content

sibtc/drf-jwt-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django REST Framework JWT Example

Python Version Django Version Django Rest Framework Version

Code example used in the tutorial How to Use JWT Authentication with Django REST Framework.

Running the Project Locally

First, clone the repository to your local machine:

git clone https://github.com/sibtc/drf-jwt-example.git

Install the requirements:

pip install -r requirements.txt

Apply the migrations:

python manage.py migrate

Finally, run the development server:

python manage.py runserver

The API endpoints will be available at 127.0.0.1:8000/hello/.

License

The source code is released under the MIT License.