Initial commit: Estructura backend y frontend con estándar VPS

- Backend migrado a estructura VPS (src/ subfolder)
- Frontend con estructura Vite + React 19 + Tailwind
- Configuración PostgreSQL con Pool
- API service con interceptores JWT
- Ambos servidores funcionando (backend:3001, frontend:5173)
This commit is contained in:
2025-12-09 00:35:46 -03:00
commit 2a88b4a71b
106 changed files with 22508 additions and 0 deletions

8
frontend/deploy.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
echo "Building React app..."
npm run build
echo "Setting permissions..."
sudo chown -R www-data:www-data dist/
echo "Reloading Nginx..."
sudo systemctl reload nginx
echo "✓ Deploy complete!"