Files
suivi_produit/TODO.md
gilles 5c3e6b84a4 feat: ajout Docker Compose et documentation outils
- Dockerfile backend (Python 3.11 + Poetry + Playwright/Chromium)
- Dockerfile frontend (Node 20 + Vite build + Nginx)
- docker-compose.yml avec services et volumes persistants
- Proxy Nginx pour API (/api -> backend:8008)
- Healthchecks sur les deux services
- Configuration Docker (.env.docker, .dockerignore)
- Documentation déploiement Docker dans README
- Fichier docs/tools_used.md avec liste des technologies

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 08:01:55 +01:00

49 lines
2.2 KiB
Markdown

# TODO
## 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 (TERMINÉ ✓)
- [x] page debug avec tables SQLite et logs (Étape 1)
- [x] store Zustand pour état global (Étape 2)
- [x] connecter App.jsx à l'API backend (fetch produits) (Étape 2)
- [x] ajouter formulaire d'ajout de produit (URL Amazon) (Étape 3)
- [x] actions scrape/delete sur produit (Étape 4)
- [x] amélioration visuelle ProductCard (Étape 5)
- [x] API enrichie avec ProductWithSnapshot
- [x] section prix (actuel, conseillé, réduction, min 30j)
- [x] badges (Prime, Choix Amazon, Deal, Exclusivité)
- [x] note + nombre d'avis
- [x] stock status coloré
- [x] image non tronquée (object-fit: contain)
- [x] grille responsive avec colonnes configurables
- [x] graphique Chart.js historique 30j (Étape 6)
- [x] composant PriceChart avec chart.js + react-chartjs-2
- [x] affichage min/max/tendance
- [x] couleurs selon tendance (vert/jaune/rouge)
- [x] page Settings avec config frontend/backend (Étape 7)
- [x] corrections bugs UX (Étape 8)
- [x] refresh après ajout produit
- [x] décalage horaire dates (UTC → local)
- [x] popup prévisualisation avant enregistrement avec scrape preview
- [x] améliorations UX avancées (Étape 9)
- [x] popup logs backend (style terminal, auto-hide 5s)
- [x] slider ratio image/infos dans Settings (temps réel)
- [x] sélecteur période graphique (7j/30j/90j/Tout)
- [x] lignes référence prix conseillé/min 30j
- [x] formatage dates adaptatif selon span
- [x] backup/restore BDD dans Settings
- [x] lien Amazon dans header carte produit
- [ ] dans setting ajoute une option pour sauvegarder image en local plutot qu'image en ligne + bouton pour faire un scrap specifique des images
## Phase 3 - Industrialisation
- [x] dockeriser backend + frontend + scheduler
- [x] docker-compose avec volumes persistants
- [ ] tests E2E frontend