npm run devThis starts both frontend and backend in development mode with hot reload.
Start backend only:
cd backend && npm run devStart specific frontend:
cd frontend && npm run dev:server # Server admin (port 3000)
cd frontend && npm run dev:applicant # Applicant portal (port 3001)
cd frontend && npm run dev:counter # Counter dashboard (port 3002)- Path:
/frontend/server/ - Features: System management, queue monitoring, settings
- Shutdown: Available in Settings page
- Path:
/frontend/applicant/ - Features: Chat interface, form filling, status checking
- Path:
/frontend/counter/ - Features: Queue processing, applicant management
- Backend API:
http://localhost:4000- Serves all API endpoints and data templates - Server Frontend:
http://localhost:3000- Admin dashboard (auto-opens on startup) - Applicant Frontend:
http://localhost:3001- Customer portal - Counter Frontend:
http://localhost:3002- Staff dashboard
The npm run server:start command will:
- Start the backend server (port 4000)
- Start the server frontend (port 3000)
- Open the browser to the server admin page
- Provide coordinated shutdown via API
- Use the shutdown button in the server frontend settings
- Or run
npm run server:stop - Or use Ctrl+C in the terminal
# Root level
npm run install-all # Install all dependencies
npm run dev # Start everything in dev mode
npm run start # Start everything in production mode
npm run server:start # Smart server startup with browser opening
npm run server:stop # Clean shutdown of all services
# Frontend workspace
npm run dev:server # Server admin frontend
npm run dev:applicant # Applicant portal
npm run dev:counter # Counter dashboard
# Backend
npm run dev # Development with nodemon
npm start # Production start