almeira-web/facturacion-dian-hub/start-dev.ps1

17 lines
1.3 KiB
PowerShell

Write-Host "==========================================================" -ForegroundColor Cyan
Write-Host "🚀 INICIANDO DIAN ELECTRONIC INVOICING FISCAL HUB (Dev)" -ForegroundColor Green
Write-Host "🏢 Empresa: Innovación & Desarrollo S.A.S. (NIT 901.554.892-9)" -ForegroundColor White
Write-Host "==========================================================" -ForegroundColor Cyan
# Iniciar Backend en una nueva ventana de terminal
Start-Process powershell -ArgumentList "-NoExit", "-Command", "cd '$PSScriptRoot\backend'; Write-Host '--- FASTIFY BACKEND API (Port 3001) ---' -ForegroundColor Yellow; npm.cmd run dev"
# Iniciar Frontend en una nueva ventana de terminal
Start-Process powershell -ArgumentList "-NoExit", "-Command", "cd '$PSScriptRoot\frontend'; Write-Host '--- VITE REACT ADMIN PANEL (Port 3000) ---' -ForegroundColor Green; npm.cmd run dev"
Write-Host "`n✅ Servicios iniciados exitosamente:" -ForegroundColor Green
Write-Host " 👉 Frontend Panel: http://localhost:3000" -ForegroundColor White
Write-Host " 👉 Backend API: http://localhost:3001" -ForegroundColor White
Write-Host " 👉 Swagger Docs: http://localhost:3001/api/docs" -ForegroundColor White
Write-Host " 👉 Health Check: http://localhost:3001/health`n" -ForegroundColor White