[DOC] Fix all remaining port 5173 references to 3000

This commit is contained in:
senke 2025-12-26 10:11:14 +01:00
parent 6218981bc2
commit 2a14fa89a9

View file

@ -33,7 +33,7 @@ make status # Vérifier santé des services
#### Frontend (`apps/web/`)
```bash
npm run dev # Démarrer Vite dev server (port 5173)
npm run dev # Démarrer Vite dev server (port 3000)
npm run build # Build production
npm run typecheck # Vérifier types TypeScript
npm run test # Tests unitaires
@ -205,7 +205,7 @@ curl http://localhost:8080/api/v1/auth/check-username?username=test
```bash
# Ouvrir dans le navigateur
open http://localhost:8080:5173
open http://localhost:3000
# Vérifier console navigateur (F12)
# Devrait voir: connexion API réussie
@ -213,7 +213,7 @@ open http://localhost:8080:5173
### 3. Test Complet d'Intégration
1. **Ouvrir** http://localhost:5173
1. **Ouvrir** http://localhost:3000
2. **Tester Register/Login**:
- Créer un compte
- Se connecter
@ -236,7 +236,7 @@ open http://localhost:8080:5173
```bash
# Vérifier ports occupés
lsof -i :8080 # Backend
lsof -i :5173 # Frontend
lsof -i :3000 # Frontend
lsof -i :5432 # Postgres
lsof -i :6379 # Redis
@ -269,7 +269,7 @@ cd apps/web
grep -r "VITE_API_URL" src/
# Vérifier CORS
curl -v -H "Origin: http://localhost:5173" \
curl -v -H "Origin: http://localhost:3000" \
-H "Access-Control-Request-Method: GET" \
-X OPTIONS \
http://localhost:8080/api/v1/auth/me
@ -405,7 +405,7 @@ Avant de tester l'intégration, vérifier:
- [ ] Infrastructure Docker démarrée (`make infra-up`)
- [ ] Migrations exécutées (`make db-migrate`)
- [ ] Backend Go démarré sur port 8080
- [ ] Frontend React démarré sur port 5173
- [ ] Frontend React démarré sur port 3000
- [ ] Variables d'environnement backend configurées (`.env`)
- [ ] CORS_ALLOWED_ORIGINS inclut `http://localhost:3000`
- [ ] Redis accessible (pour CSRF)
@ -417,7 +417,7 @@ Avant de tester l'intégration, vérifier:
curl http://localhost:8080/health
# Frontend
curl http://localhost:5173
curl http://localhost:3000
```
---
@ -426,7 +426,7 @@ curl http://localhost:5173
Une fois tout démarré:
1. **Ouvrir** http://localhost:5173 dans le navigateur
1. **Ouvrir** http://localhost:3000 dans le navigateur
2. **Tester** le flow complet:
- Register → Login → Upload Track → Créer Playlist
3. **Vérifier** DevTools → Network pour voir les requêtes API