frontend/
src/
app/ # Pages Next.js
components/ # Composants React
lib/ # Utils, API, store
npm run dev:frontend✅ Ouvre http://localhost:3000
1. Installer les dépendances Python (première fois):
cd api
pip install -r requirements.txt
cd ..2. Démarrer Redis:
# Nouveau terminal
redis-server3. Lancer frontend + backend:
npm run dev✅ Frontend: http://localhost:3000 ✅ Backend API: http://localhost:8000
| Commande | Description |
|---|---|
npm run dev:frontend |
Frontend seul (port 3000) |
npm run dev:api |
Backend seul (port 8000) |
npm run dev |
Frontend + Backend ensemble |
npm run lint |
Lint tout le code |
npm run test |
Lancer tous les tests |
npm install# Installer Redis (macOS)
brew install redis
redis-servercd api
pip install -r requirements.txtPour tester l'UI rapidement → npm run dev:frontend ✨