Metadata-Version: 2.1
Name: django-drf-jwt
Version: 0.0.6
Summary: A simple app to demonstrate django-jwt-authentication using Django REST Framework
Home-page: https://github.com/ShahzaibMumtaz07/django_drf_jwt.git
Author: Shahzaib Mumtaz
Author-email: shahzaib.mumtaz.20195@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENSE.md

# Django REST Framework JWT Example

A simple app to use django-jwt-authentication using Django REST Framework
## Running the Project Locally

First, add this to your requirements file of the project:

```bash
-e git+ssh://git@github.com/ShahzaibMumtaz07/django_drf_jwt.git#egg=django_drf_jwt
```

Install the requirements:

```bash
pip install -r requirements.txt
```
Add app to the INSTALLED_APPS in the project:
```bash
INSTALLED_APPS = [
    ...,
    'django_drf_jwt',
    ...,
]
```
Include the app urls in your project urls.py:
```bash
from django.urls import path, include

urlpatterns = [
    path('django_drf_jwt/', include('django_drf_jwt.urls'))
]
```


Apply the migrations if not applied:

```bash
python manage.py migrate
```

Finally, run the development server:

```bash
python manage.py runserver
```

The API endpoints will be available at **127.0.0.1:8000/django_drf_jwt/api-token-auth/**



