Awesome
Backend API for the e-commerce built with FastAPI
Installation
- Create
.env
file in the project directory with
DATABASE_URL=postgresql://postgres:postgres@db/postgres
ALGORITHM=HS256
SECRET_KEY=SECRET
- Install with Docker
docker-compose build
Usage
docker-compose up
- Go to localhost:8000/docs
- Play with Swagger Docs
Pytest with flake8 and coverage
docker-compose exec gifter pytest
Format with Black
docker-compose exec gifter ./format