[DOC] Fix remaining port 5173 references to 3000
This commit is contained in:
parent
16dcd0657b
commit
6218981bc2
1 changed files with 4 additions and 4 deletions
|
|
@ -110,7 +110,7 @@ APP_ENV=development
|
|||
JWT_SECRET=dev-secret-key-minimum-32-characters-long-for-testing
|
||||
DATABASE_URL=postgres://veza:password@localhost:5432/veza?sslmode=disable
|
||||
REDIS_URL=redis://localhost:6379
|
||||
CORS_ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000
|
||||
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173
|
||||
APP_PORT=8080
|
||||
LOG_LEVEL=INFO
|
||||
EOF
|
||||
|
|
@ -141,7 +141,7 @@ npm run dev
|
|||
```
|
||||
|
||||
**Vérification Frontend**:
|
||||
- Ouvrir http://localhost:5173 dans le navigateur
|
||||
- Ouvrir http://localhost:3000 dans le navigateur
|
||||
- La page devrait se charger
|
||||
|
||||
---
|
||||
|
|
@ -162,7 +162,7 @@ DATABASE_URL=postgres://veza:password@localhost:5432/veza?sslmode=disable
|
|||
REDIS_URL=redis://localhost:6379
|
||||
|
||||
# REQUIS pour CORS (en développement, defaults locaux OK)
|
||||
CORS_ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000
|
||||
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173
|
||||
|
||||
# Optionnel
|
||||
APP_PORT=8080
|
||||
|
|
@ -407,7 +407,7 @@ Avant de tester l'intégration, vérifier:
|
|||
- [ ] Backend Go démarré sur port 8080
|
||||
- [ ] Frontend React démarré sur port 5173
|
||||
- [ ] Variables d'environnement backend configurées (`.env`)
|
||||
- [ ] CORS_ALLOWED_ORIGINS inclut `http://localhost:5173`
|
||||
- [ ] CORS_ALLOWED_ORIGINS inclut `http://localhost:3000`
|
||||
- [ ] Redis accessible (pour CSRF)
|
||||
- [ ] Postgres accessible (pour données)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue