Initial commit: SYNC_API project

This commit is contained in:
2025-11-06 09:50:10 -07:00
commit 733ef04eeb
42 changed files with 2380 additions and 0 deletions

23
sync_api/test_api.bat Normal file
View File

@@ -0,0 +1,23 @@
# Script de pruebas para verificar endpoints
@echo off
echo Ejecutando pruebas de la API...
echo.
echo Probando endpoint raiz...
curl -s http://localhost:8000/ || echo Error: API no responde
echo.
echo Probando ping...
curl -s http://localhost:8000/api/ping || echo Error: Ping fallo
echo.
echo Probando health check...
curl -s http://localhost:8000/api/health || echo Error: Health check fallo
echo.
echo Probando lista de nodos...
curl -s http://localhost:8000/api/nodes || echo Error: Lista de nodos fallo
echo.
echo Pruebas completadas.
pause