Base FastAPI Project
- FastAPI
- SQLAlchemy + Alembic
- PostgreSQL
- Redis
- Docker
docker-compose up -d --buildcat .env.example > .env.local
export $(grep -v "^#" .env.local | xargs)pip install poetrycd src && poetry installpoetry shelluvicorn main:app --reloadalembic revision --autogenerate -m "Migration Name"alembic upgrade headalembic downgrade -1cd src && make lint
cd src && make testfeature/{feature-name-in-kebab-case} # branch with new functionality, code
fix/{fix-name-in-kebab-case} # branch with fix changes
+ {message} # adding new functionality, code
- {message} # removing functionality, code
! {message} # changing functionality, code