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 ...orPYTHONPATH=. - WSL:
WATCHFILES_FORCE_POLLING=trueif reload misses changes - Prod:
gunicorn app.main:app -k uvicorn.workers.UvicornWorker -w <n> --bind :8000
Anti-patterns:
--reload --workers > 1- PM2
watch: truefor 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.
Details
- Publisher
- bobmatnyc
- Category
- Software Development › APIs & backend
- License
- MIT
- Updated
- 2026-07-18
References
More from bobmatnyc
- Bad Example Skill ANTI-PATTERN - Example showing violations of self-containment (DO NOT COPY)
- Example Framework Skill Example of a properly self-contained skill following all best practices
- Dspy DSPy declarative framework for automatic prompt optimization treating prompts as code with system…
- Langchain LangChain LLM application framework with chains, agents, RAG, and memory for building AI-powered…