Hands-on debugging with FastAPI. Each branch has intentionally buggy code. Your job is to run it, find the bug, and fix it.
- One bug per branch. Switch to a branch, run the app, fix the bug, then move to the next.
- Branches:
bug-1throughbug-6(main challenges), plusbonus-1andbonus-2(extra). - Git practice: Use
git checkout <branch-name>to switch branches (e.g.git checkout bug-1).
From the repo root (on any bug or bonus branch):
uvicorn main:app --reloadThen open http://127.0.0.1:8000/docs for interactive API docs.
pip install -r requirements.txt