Skip to content

worldworm/copier-fastapi-quasar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📋 copier-fastapi-quasar

Copier template for fastapi and quasar projects.

GitHub repo stars License GitHub last commit (main) GitHub release GitHub commits since latest release Copier supported version

Features

  • 🚀 Basic fastapi setup
  • 🌌 Quasar 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
  • 📦 Poetry setup with a pre-defined pyproject.toml
  • 🔁 Continuous integration (CI) pipelines for Github Actions and GitLab CI/CD
  • 🐳 Docker support with build and publish pipelines
  • ⚙️ Settings management using pydantic-settings
  • 🗄️ Database support with sqlmodel and mysql, postgres or sqlite configuration
  • ▶️ alembic database migrations
  • 🏃 poethepoet task runner
  • 🪝 pre-commit hooks
  • 🔍 pylint code linter
  • 🔍 ESLint code linter
  • 🏁 mypy static type checker
  • 🧪 pytest unit tests
  • 🛡️ bandit code security check
  • 🎨 autopep8 and pydocstringformatter code formatter and styling
  • 🆚 VSCode configuration

Requirements

First install copier:
(from the official installation documentation)

pip install copier

Usage

Make sure the requirements are met, then:

copier copy --trust "https://github.com/worldworm/copier-fastapi-quasar.git" .

Update

To update a template after creating a project, run:

copier update --trust -a .project/.copier-answers.fastapi-quasar.yml .

Explore more Copier templates

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.


© worldworm 2024
Licensed under MIT