docs: add frontend Phase 2 implementation plan

- Add detailed 6-step development plan for frontend
- Define architecture with React Router for multi-store evolution
- Document API endpoints needed (existing + to create)
- Update TODO.md and kanban.md with current status

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-18 19:21:19 +01:00
parent bb1263edb8
commit 9a6448facc
4 changed files with 553 additions and 11 deletions

25
TODO.md
View File

@@ -1,7 +1,22 @@
# TODO
- [ ] init repo pour backend FastAPI + logging + config
- [ ] créer scraper Amazon via Playwright avec parser robuste
- [ ] définir UI Gruvbox + carte produit + graphique 30j
- [ ] intégrer scheduler APScheduler pour `scrape_all`
## Phase 1 - Backend & Scraper (TERMINÉ ✓)
- [x] init repo pour backend FastAPI + logging + config
- [x] créer scraper Amazon via Playwright avec parser robuste
- [x] modèle SQLAlchemy (products, product_snapshots, scrape_runs)
- [x] API CRUD produits + endpoints scraping
- [x] tests unitaires parser, normalisation, pricing
- [x] intégrer scheduler APScheduler pour `scrape_all`
## Phase 2 - Frontend (EN COURS)
- [ ] connecter App.jsx à l'API backend (fetch produits)
- [ ] implémenter ProductCard avec données réelles
- [ ] ajouter formulaire d'ajout de produit (URL Amazon)
- [ ] graphique Chart.js historique 30j
- [ ] store Zustand pour état global
## Phase 3 - Industrialisation
- [ ] dockeriser backend + frontend + scheduler
- [ ] ajouter page debug/logs affichant tables SQLite
- [ ] docker-compose avec volumes persistants
- [ ] page debug/logs affichant tables SQLite
- [ ] tests E2E frontend