Generalized backend service template using Python and FastAPI.
- Stage: Draft
- Owner:
- License:
- Visibility: Public | Private | Internal
- Reason:
- Promotion criteria to Public:
- A baseline service skeleton with health checks, structured logging, and OpenAPI output.
- Includes optional worker placeholder for asynchronous processing.
- Click Use this template on GitHub to create a new repository.
- Rename package/module identifiers and update ownership metadata.
- Review
.env.exampleand update environment configuration for your target project. - Run validation and CI checks before first release.
- Python 3.11+
- pip
python -m pip install --upgrade pip
pip install -e ".[dev]"uvicorn service.main:app --reload --host 0.0.0.0 --port 4000ruff check .
pytest -q
mypy srcbash tools/validate-template.sh core
bash tools/validate-template.sh advisorySee CONTRIBUTING.md.