Copier extension template for fastapi projects.
- 🚀 Basic fastapi setup
- 📅 API versioning using fastapi-versionizer
- 🚦 Pre-defined HTTP status code error models
- 🔍 Sorting and filtering query dependencies
- 📚 Pagination model with built-in page calculation
First install copier:
(from the official installation documentation)
pip install copier
Note
This is an extension template that cannot be used directly to create a project. Use this template after applying the appropriate meta template: copier-poetry-meta
Make sure the requirements are met, then:
copier copy "https://github.com/worldworm/copier-poetry-fastapi-ext.git" .
To update a template after creating a project, run:
copier update -a .project/.copier-answers.poetry-fastapi-ext.yml .
In addition to this template, there are a number of other Copier templates available. For an overview of all available templates, visit the Templates Showcase repository.