https://github.com/felipeversiane/picpay-challange
RESTful API application based on a picpay bank challenge.
https://github.com/felipeversiane/picpay-challange
celery django docker docker-compose drf drf-yasg jwt-authentication nginx postgresql redis simplejwt
Last synced: 3 months ago
JSON representation
RESTful API application based on a picpay bank challenge.
- Host: GitHub
- URL: https://github.com/felipeversiane/picpay-challange
- Owner: felipeversiane
- License: mit
- Created: 2024-01-10T23:44:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-04T20:22:52.000Z (over 1 year ago)
- Last Synced: 2026-01-03T16:22:53.879Z (6 months ago)
- Topics: celery, django, docker, docker-compose, drf, drf-yasg, jwt-authentication, nginx, postgresql, redis, simplejwt
- Language: Python
- Homepage: https://github.com/PicPay/picpay-desafio-backend
- Size: 3.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deploy Django and Nextjs using Nginx, Celery, Redis and Postgresql with Docker
RESTful API application based on a picpay bank challenge.
[Challange Repository](https://github.com/PicPay/picpay-desafio-backend)
## 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](#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.