- Python3.8+
- Poetry
- Fast API
- SQLAlchemy
- Postgres
- Uvicorn
- Clone this repo and
cd
into repo directory - Create virtual environment:
python -m venv venv
- Install dependencies:
poetry install
- Run the server:
poetry run uvicorn main:app --reload
- Access swagger at: http://localhost:8000/docs
- docker-compose up
- Build docker image with Dockerfile
alembic upgrade head