This template requires python>=3.7 and is based on orrshilon/fastapi-mini-template
This is a minimalistic and extensible FastAPI template.
- Copy
.env.sampleto.env - Run docker compose
docker compose up -d
- Copy
.env.sampleto.env - Create a virtual environment
- Install the dependencies
pip install -r requirements.txt && pip install -r requirements-dev.txt - Start the app
or
uvicorn app.main:app --port 8080 --reload
PYTHONPATH=$PWD python3 app/main.py
make lintmake help