1.7 KiB
1.7 KiB
🚀 Estado del Despliegue
Fecha: 2025-01-06
Última actualización: Ahora
✅ SERVICIOS DESPLEGADOS
Backend API
- Puerto: 3000
- URL: http://localhost:3000
- Health Check: http://localhost:3000/health
- Estado: ✅ En ejecución
Admin Panel
- Puerto: 5174
- URL: http://localhost:5174
- Estado: ✅ En ejecución
📋 COMANDOS PARA INICIAR
Backend
cd /home/planetazuzu/guia-tes/backend
npm start
Admin Panel
cd /home/planetazuzu/guia-tes/admin-panel
npm run dev
🔍 VERIFICACIÓN
Verificar Backend
curl http://localhost:3000/health
Verificar Admin Panel
curl http://localhost:5174
Ver procesos
lsof -ti :3000 # Backend
lsof -ti :5174 # Admin Panel
🛠️ SOLUCIÓN DE PROBLEMAS
Si el backend no inicia:
- Verificar logs:
tail -f /tmp/backend.log - Verificar puerto:
lsof -ti :3000 - Matar proceso:
lsof -ti :3000 | xargs kill -9 - Reiniciar:
cd backend && npm start
Si el admin panel no inicia:
- Verificar logs:
tail -f /tmp/admin-panel.log - Verificar puerto:
lsof -ti :5174 - Matar proceso:
lsof -ti :5174 | xargs kill -9 - Reiniciar:
cd admin-panel && npm run dev
📊 ENDPOINTS PRINCIPALES
Backend
GET /health- Health checkPOST /api/auth/login- LoginGET /api/content- Listar contenidoGET /api/stats/content- EstadísticasGET /api/stats/validation- Estadísticas validación
Admin Panel
http://localhost:5174- Loginhttp://localhost:5174/dashboard- Dashboardhttp://localhost:5174/content- Bibliotecahttp://localhost:5174/validation- Validación
✅ Servicios desplegados y funcionando