FastAPI Webservice Copier Template
Generate backend-only Python services for Ubuntu, with FastAPI, uv, SQLite and systemd. Select Taskiq, FastMCP and ntfy independently at generation time.
Highlights
Section titled “Highlights”- Ready to runTyped REST endpoints, health checks, SQLite and an installed CLI.
- Optional background jobsRedis Streams, Taskiq worker and a separate periodic scheduler.
- Agent-ready MCPStandalone FastMCP on the existing HTTP server.
- Push notificationsPublish application events to a configured ntfy instance.
- Fast feedbackRuff, ty, pytest, benchmarks and machine-readable diagnostics.
- Repeatable deploymentShared CI, systemd units, cached configuration and gzip compression.
Quick start
Section titled “Quick start”uvx copier copy --vcs-ref HEAD --data 'project_name=Backup Service' \ gh:RuchirChawdhry/copier-fastapi-webservice backup-servicecd backup-servicegit init -b maintask setupcp .env.example .envuv run backup-service init-dbuv run backup-service serveChoose no when asked about jobs if Redis is not required. For a job-enabled service, install and start Redis first.
Open FastAPI interactive docs locally, or run curl http://127.0.0.1:8000/health/ready.
Guides
Section titled “Guides”- Getting Started — feature selection and first run.
- Configuration — environment settings and secrets.
- HTTP API — requests, health and compression.
- Background Jobs — submit work and run the scheduler.
- MCP — register tools and connect agents.
- Notifications — send ntfy messages.
- Deployment — install and operate Ubuntu services.
- Development and CI — checks and benchmarks.
- Diagnostics — diagnose failures with JSON.