diff --git a/COMMANDES_RAPIDES.md b/COMMANDES_RAPIDES.md index a177603fc..d9311dc75 100644 --- a/COMMANDES_RAPIDES.md +++ b/COMMANDES_RAPIDES.md @@ -11,7 +11,7 @@ make dev # Démarrer TOUT (backend + frontend) ``` **Résultat**: -- Frontend: http://localhost:5173 +- Frontend: http://localhost:3000 - Backend: http://localhost:8080 - Swagger: http://localhost:8080/docs @@ -40,7 +40,7 @@ APP_ENV=development JWT_SECRET=dev-secret-key-minimum-32-characters-long DATABASE_URL=postgres://veza:password@localhost:5432/veza?sslmode=disable REDIS_URL=redis://localhost:6379 -CORS_ALLOWED_ORIGINS=http://localhost:5173 +CORS_ALLOWED_ORIGINS=http://localhost:3000 EOF # Démarrer @@ -65,8 +65,8 @@ npm install npm run dev ``` -**Port**: 5173 (ou 3000 selon config Vite) -**URL**: http://localhost:5173 +**Port**: 3000 (configuré dans vite.config.ts) +**URL**: http://localhost:3000 --- @@ -77,7 +77,7 @@ npm run dev curl http://localhost:8080/health # Frontend accessible -curl http://localhost:5173 +curl http://localhost:3000 # Swagger UI open http://localhost:8080/docs @@ -89,7 +89,7 @@ open http://localhost:8080/docs ```bash # Ports occupés -lsof -i :8080 :5173 :5432 :6379 +lsof -i :8080 :3000 :5432 :6379 # Logs Docker docker compose logs -f diff --git a/GUIDE_DEMARRAGE_INTEGRATION.md b/GUIDE_DEMARRAGE_INTEGRATION.md index 831ed190a..8d0518717 100644 --- a/GUIDE_DEMARRAGE_INTEGRATION.md +++ b/GUIDE_DEMARRAGE_INTEGRATION.md @@ -13,7 +13,7 @@ ### Services - **Backend Go**: Port `8080` (`veza-backend-api/`) -- **Frontend React**: Port `5173` (`apps/web/`) +- **Frontend React**: Port `3000` (`apps/web/`) - configuré dans `vite.config.ts` - **Chat Server Rust**: Port `8081` (optionnel pour tests) - **Stream Server Rust**: Port `8082` (optionnel pour tests) @@ -70,11 +70,11 @@ make dev **Résultat**: - ✅ Infrastructure Docker démarrée - ✅ Backend Go sur http://localhost:8080 -- ✅ Frontend React sur http://localhost:5173 +- ✅ Frontend React sur http://localhost:3000 - ✅ Hot reload activé si outils installés (air, cargo-watch) **Accès**: -- Frontend: http://localhost:5173 +- Frontend: http://localhost:3000 - Backend API: http://localhost:8080/api/v1 - Swagger: http://localhost:8080/docs - RabbitMQ UI: http://localhost:15672 (veza/password)