Feature rich robust FastAPI template.
⚠️ Git, Python and UV must be installed and accessible ⚠️
You can install it directly from pypi with pip.
python3 -m pip install fastapi_template
python3 -m fastapi_template
# or fastapi_template
# Answer all the questions
# Enjoy your new project
cd new_project
docker-compose up --buildIf you want to install it from sources, try this:
python3 -m pip install uv
python3 -m pip install .
python3 -m fastapi_templateAlso, you can use it with docker.
docker run --rm -it -v "$(pwd):/projects" ghcr.io/s3rius/fastapi_templateOne of the coolest features is that this project is extremely configurable. You can choose between different databases and even ORMs, or you can even generate a project without a database! Currently SQLAlchemy 2.0, TortoiseORM, Piccolo, Ormar and Beanie are supported.
This project can run as TUI or CLI and has excellent code documentation.
Generator features:
This project can handle arguments passed through command line.
…No open issues yet, or sync has not completed.