fastapi-local-dev

v2026.09.24

FastAPI dev/prod runbook (Uvicorn reload, Gunicorn)

GitHub
Install command
npx skhub add bobmatnyc/fastapi-local-dev
Markdown
SKILL.md

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

Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

toolchains/python/frameworks/fastapi-local-dev

Default branch

main

Latest commit

718070a

Tree SHA

3b7f612