Basic backend for modern web application
- Python
- Django
- Django REST framework
- PostgreSQL
- Docker
Using Docker:
# build
docker-compose pull
docker-compose build --parallel
# start (will run on http://localhost:8000)
docker-compose up -d
# get logs
docker-compose logs -f backend
docker-compose logs -f
# stop
docker-compose down -t 0
# running backend tests
docker-compose run backend sh -c "PYTHONDONTWRITEBYTECODE=1 ./manage.py test --noinput"