@echo off
echo Installing all dependencies...

echo.
echo [1/4] Installing root dependencies...
call npm install

echo.
echo [2/4] Installing backend dependencies...
cd backend
call npm install
cd ..

echo.
echo [3/4] Installing frontend dependencies...
cd frontend
call npm install
cd ..

echo.
echo [4/4] Installing admin-panel dependencies...
if exist admin-panel (
    cd admin-panel
    call npm install
    cd ..
)

echo.
echo ✅ All dependencies installed!
echo.
echo You can now run: start-dev.cmd
pause