Skill Store 33

Fastapi Local Dev

FastAPI dev/prod runbook (Uvicorn reload, Gunicorn)

by bobmatnyc · MIT

The skill

FastAPI dev/prod runbook (Uvicorn reload, Gunicorn)

FastAPI Local Dev

  • Dev: uvicorn app.main:app --reload
  • Imports: run from repo root; use python -m uvicorn ... or PYTHONPATH=.
  • WSL: WATCHFILES_FORCE_POLLING=true if reload misses changes
  • Prod: gunicorn app.main:app -k uvicorn.workers.UvicornWorker -w <n> --bind :8000

Anti-patterns:

  • --reload --workers > 1
  • PM2 watch: true for Python

References: references/.

Use this skill

Connect your agent to the Skill Store MCP server and ask for it by ref: bobmatnyc/fastapi-local-dev-70733504023.

Download SKILL.md · Markdown version

Details

Publisher
bobmatnyc
Category
Software Development › APIs & backend
License
MIT
Updated
2026-07-18

References

More from bobmatnyc