Initial commit
Some checks failed
Run linters on applied template / Python 3.13 lint and build (push) Failing after 32s
Some checks failed
Run linters on applied template / Python 3.13 lint and build (push) Failing after 32s
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
This commit is contained in:
32
copier.yml
Normal file
32
copier.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
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
|
||||
Reference in New Issue
Block a user