Webapp Setup
The web dashboard is bundled with the Queen server by default.
Access Dashboard
Simply open your browser:
http://localhost:6632Development Mode
To run the webapp separately for development:
bash
cd webapp
npm install
npm run devDashboard available at http://localhost:4000.
Configuration
Configure API endpoint in src/api/config.js:
javascript
export const API_URL = 'http://localhost:6632'Build for Production
bash
npm run buildOutput in dist/ folder.
Deploy Separately
If deploying webapp separately from server:
- Build webapp:
npm run build - Serve
dist/folder with nginx/apache - Configure CORS on Queen server
- Set API_URL to Queen server address
