Skip to content

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.

  • 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.
Terminal window
uvx copier copy --vcs-ref HEAD --data 'project_name=Backup Service' \
gh:RuchirChawdhry/copier-fastapi-webservice backup-service
cd backup-service
git init -b main
task setup
cp .env.example .env
uv run backup-service init-db
uv run backup-service serve

Choose 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.

Source repository · Actions