Files
template-fastapi/copier.yml
Aleksei Sokol 1a5b71b692
Some checks failed
Run linters on applied template / Python 3.13 lint and build (push) Failing after 32s
Initial commit
This is a FastAPI backend microservice template used with `copier` utility.

Features of applied template are:
- Configuration file processing logic
- Metrics and tracing (both optional) configuration available
- Debug endpoints
- Database migration commands, prepared Alembic environment
- Database usage example in ping_db endpoint
- gitea sanity check pipeline
2025-11-29 21:58:23 +03:00

32 lines
719 B
YAML

project_name:
type: str
help: Project name as-is
default: sample-api
ProjectName:
type: str
help: Project name in CamelCase
default: "{{ project_name.replace('-', ' ').replace('_', ' ').title().replace(' ', '') }}"
project_slug:
type: str
help: Project name in snake_case
default: "{{ project_name.replace('-', '_') }}"
project_description:
type: str
help: Project description to go in Readme, pyproject.toml and OpenAPI specification
default: This is a sample API project
vcs_type:
type: str
help: Version Control System used in a project (affects workflow type)
choices:
- gitea
- github
default: gitea
_exclude:
- copier.yaml
- .git
- .gitea/workflows/validate.yaml