API REST de gestion de tâches — Python / FastAPI / SQLAlchemy.
Repo sample pour l'article Git Worktree : parallélisez vos agents IA pour coder 5x plus vite.
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reloadAPI dispo sur http://localhost:8000 — docs Swagger sur http://localhost:8000/docs
pytest -vCe repo est conçu pour 3 tâches indépendantes, chacune dans son worktree :
| Worktree | Branche | Tâche |
|---|---|---|
feature-labels |
feature/labels |
Ajouter un système de labels/tags (modèle, relation M2M, routes CRUD) |
fix-pagination |
fix/pagination |
Corriger le bug de pagination off-by-one sur GET /tasks |
refacto-pydantic-v2 |
refacto/pydantic-v2 |
Migrer les validators Pydantic v1 → v2 |