@echo off REM 5 Why Root Cause Analyzer - Simple Dev Launcher REM Uses npm dev which runs both services with concurrently echo. echo ====================================================================== echo 5 Why Root Cause Analyzer - v1.0.0 echo Starting Development Servers... echo ====================================================================== echo. REM Kill any existing processes on ports 3001 and 5173 echo Cleaning up ports... for /f "tokens=5" %%a in ('netstat -ano ^| findstr :3001 ^| findstr LISTENING') do taskkill /F /PID %%a 2>nul for /f "tokens=5" %%a in ('netstat -ano ^| findstr :5173 ^| findstr LISTENING') do taskkill /F /PID %%a 2>nul echo. echo Starting services with npm dev... echo. echo Access Points: echo Frontend: http://localhost:5173 echo Backend: http://localhost:3001 echo. echo Test Accounts: echo Admin: admin@example.com / Admin@123456 echo User1: user001@example.com / User@123456 echo User2: user002@example.com / User@123456 echo. echo Press Ctrl+C to stop all services echo ====================================================================== echo. npm run dev