Initial commit

This commit is contained in:
2025-12-05 11:27:16 -03:00
commit 804bacfbe3
87 changed files with 7260 additions and 0 deletions

34
start.sh Normal file
View File

@@ -0,0 +1,34 @@
#!/bin/bash
echo "========================================"
echo "Iniciando Sistema de Gestión de Pedidos"
echo "========================================"
echo ""
echo "[1/2] Iniciando Backend..."
python run.py &
BACKEND_PID=$!
sleep 3
echo "[2/2] Iniciando Frontend..."
cd frontend
python -m http.server 3000 &
FRONTEND_PID=$!
cd ..
echo ""
echo "========================================"
echo "Sistema iniciado!"
echo ""
echo "Backend: http://localhost:8000"
echo "Frontend: http://localhost:3000"
echo "Docs: http://localhost:8000/docs"
echo "========================================"
echo ""
echo "Presiona Ctrl+C para detener ambos servidores"
# Esperar a que el usuario presione Ctrl+C
trap "kill $BACKEND_PID $FRONTEND_PID; exit" INT
wait