devalv / cookiecutter-fastapi

Cookiecutter FastAPI boilerplate.
MIT License
2 stars 0 forks source link

Fast API boilerplate

This is a Cookiecutter template for a simple FastAPI project.

$ pip install --upgrade cookiecutter
Pre-commit should be installed before pulling template.
$ pip install pre-commit
$ cookiecutter gh:devalv/cookiecutter-fastapi
Install pipenv and project dependencies
$ python -m pip install -U pipenv
$ cd backend && pipenv install --dev
Pretty errors for extra verbosity
$ pipenv run python -m pretty_errors

For additional instructions please see README

Backend

For additional instructions please see README

Hooks

pre-commit:

FAQ

pre-commit run --all-files

CI

GitHub actions located on .github/workflows directory.

Default rules: