Skip to content

An elimination tournament API in python with Django and Clean architecture principles

Notifications You must be signed in to change notification settings

marcelobbfonseca/api-elimination-tournament-django

Repository files navigation

Docker Django Postgres Redis

Build

ELIMINATION TOURNAMENT API

an Elimination tournament API with python django following Clean architecture Principles

Install and configuration

with Docker

Requires Docker and docker-compose installed.

  1. Download and Install docker
  2. Download and Install docker-compose here

In root directory run docker-compose up. App will start and run in port localhost:3000

Debug

Run bash inside the application container. Run docker exec -it tournament-api bash in another terminal while the container is running.

Seed Database

python3 manage.py shell < seed.py

Seed Fixtures

manage.py loaddata fixtures/player.json manage.py loaddata fixtures/position.json manage.py loaddata fixtures/tournament.json

About

An elimination tournament API in python with Django and Clean architecture principles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages