https://github.com/sdediego/django-rest-jwt-auth
Django Rest API backend for JSON Web Token authentication
https://github.com/sdediego/django-rest-jwt-auth
api-restful clean-architecture django django-rest-framework docker poetry python
Last synced: 3 months ago
JSON representation
Django Rest API backend for JSON Web Token authentication
- Host: GitHub
- URL: https://github.com/sdediego/django-rest-jwt-auth
- Owner: sdediego
- License: mit
- Created: 2022-04-21T22:02:53.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-24T17:19:06.000Z (about 4 years ago)
- Last Synced: 2025-10-22T12:49:18.899Z (9 months ago)
- Topics: api-restful, clean-architecture, django, django-rest-framework, docker, poetry, python
- Language: Python
- Homepage:
- Size: 78.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# _Django Rest Framework JSON Web Token Authentication_
This repository contains the code for Django Rest JSON Web Token API backend. The application aims to provide an API backend server for user authentication with JWT (JSON Web Token).
## Documentation
This project has been developed using [Django][django] with [Django Rest Framework][djangorestframework] for the application code and [Postgres][postgres] as relational database.
Code structure implementation follows a [Clean Architecture][cleanarchitecture] approach, emphasizing on code readability, responsibility decoupling and unit testing.
For API backend endpoints documentation refer to the [drf_jwt.yaml][swagger] file in the docs directory.
## Setup
Download source code cloning this repository:
```
git clone https://github.com/sdediego/django-rest-jwt-auth.git
```
## Run the API backend:
Create docker images and execute the containers for development. From the project directory:
```
docker-compose -f ./docker/docker-compose.yaml up --build
```
Shutdown the application and remove network and containers gracefully:
```
docker-compose -f ./docker/docker-compose.yaml down
```
[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job.)
[django]:
[djangorestframework]:
[postgres]:
[cleanarchitecture]:
[swagger]: