Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iarsham/restapi-blog
Blog Project With Django and Drf
https://github.com/iarsham/restapi-blog
api django django-rest-framework docker docker-compose gunicorn jwt-authentication nginx postgres python swagger-ui
Last synced: about 1 month ago
JSON representation
Blog Project With Django and Drf
- Host: GitHub
- URL: https://github.com/iarsham/restapi-blog
- Owner: iarsham
- License: apache-2.0
- Created: 2022-05-19T15:37:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-09T16:04:35.000Z (over 2 years ago)
- Last Synced: 2024-11-15T02:08:31.958Z (3 months ago)
- Topics: api, django, django-rest-framework, docker, docker-compose, gunicorn, jwt-authentication, nginx, postgres, python, swagger-ui
- Language: Python
- Homepage:
- Size: 1.16 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **Blog API DRF + JWT**
A blog project with jwt authentication written by Django and DjangoRestFrameWork.
Auth API has users registration, login and obtaining JWT and refreshing JWT.## Why JWT?
JWTs are a good way of securely transmitting information between parties because they can be signed, which means you can be sure that the senders are who they say they are !## Permissions
- Each `User` can change only own data.
- Only account's owner can view account details.---
## Clone project
```sh
$ git clone https://github.com/iarsham/RestApi-Blog.git
```
---## install Docker
https://docs.docker.com/engine/install/
## install Docker Compose
https://docs.docker.com/compose/install/---
# Build and run Project
```sh
$ cd RestApi-Blog/
$ docker-compose up --build
```# Create Superuser to access Admin Panel
```sh
$ docker-compose exec web python manage.py createsuperuser
```---
## Technologies used
* [Python](https://www.python.org/)
* [Django](https://www.djangoproject.com/)
* [DjangoRestFrameWork](https://www.django-rest-framework.org/)
* [PostgreSQL](https://www.postgresql.org/)
* [gunicorn](https://gunicorn.org/)
* [Docker](https://www.docker.com/)
* [Nginx](https://www.nginx.com/)
* [JwtAuthentication](https://jwt.io/)