felipeversiane / bossabox_challange

RESTful API / Simple JWT / Swagger | Application based on a bossabox challenge.

Home Page:https://bossabox.notion.site/Back-end-0b2c45f1a00e4a849eefe3b1d57f23c6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy Django and Nextjs using Nginx, Celery, Redis and Postgresql with Docker

RESTful API application based on a bossabox challenge.

Challange Repository

Basic Usage

  1. First run make build inside root directory.
  2. Then run make up to start up the project for first time.

Checkout the commands section for more usage.

Preview

A default Django project resides in src directory. So, when you start the project, you will see the following screen in 8000 port:

Commands

To use this project, run this commands:

  1. make up to build the project and starting containers.
  2. make build to build the project.
  3. make start to start containers if project has been up already.
  4. make stop to stop containers.
  5. make shell-web to shell access web container.
  6. make shell-db to shell access db container.
  7. make shell-nginx to shell access nginx container.
  8. make logs-web to log access web container.
  9. make logs-db to log access db container.
  10. make logs-nginx to log access nginx container.
  11. make collectstatic to put static files in static directory.
  12. make log-web to log access web container.
  13. make log-db to log access db container.
  14. make log-nginx to log access nginx container.
  15. make restart to restart containers.

Swagger | API Documentation (drf_yasg)

In swagger you will find the documentation for everything, all the methods and models routes and their respective attributes, you can access it through the route

Swagger

  GET /swagger

Redoc

  GET /doc

About

RESTful API / Simple JWT / Swagger | Application based on a bossabox challenge.

https://bossabox.notion.site/Back-end-0b2c45f1a00e4a849eefe3b1d57f23c6

License:MIT License


Languages

Language:JavaScript 85.5%Language:Python 9.3%Language:Shell 2.1%Language:HTML 1.4%Language:Dockerfile 0.8%Language:CSS 0.6%Language:Makefile 0.3%