[DOC] Fix frontend port to 3000 in startup guides
- Update port from 5173 to 3000 (actual Vite config) - Update CORS_ALLOWED_ORIGINS examples - Fix all URL references
This commit is contained in:
parent
5438a18782
commit
0cb81dcc06
2 changed files with 9 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue