FastAPI (with Pydantic v2) Postgres Alembic Docker Template
cp config/.env.example config/.env
docker-compose up --build -d
docker-compose exec api alembic revision --autogenerate
docker-compose exec api alembic upgrade head
docker exec -it api pytest
docker exec -it api coverage run -m pytest
docker exec -it api coverage report
POST /boilerplate # boilerplate create
GET /boilerplate # boilerplate list
GET /boilerplate/{boilerplate_id} # boilerplate get
PATCH /boilerplate/{boilerplate_id} # boilerplate update
DELETE /boilerplate/{boilerplate_id} # boilerplate delete
GET / # health check