Host the console (dashboard)
The operator console is a React SPA built from dashboard/ in the repository.
Build
cd dashboard
npm install
npm run build
Output is usually dashboard/build/ (confirm in package.json).
Production domain
Deploy the build folder to static hosting and map console.ravisarode.com:
- S3 + CloudFront (common with AWS)
- Or Netlify / Vercel with custom domain
API configuration
Set the dashboard API_BASE_URL (see src/services/api.ts) to your API Gateway URL, e.g.:
https://{rest-api-id}.execute-api.{region}.amazonaws.com/prod
Rebuild after changing the API endpoint.
CORS
API Gateway must allow the Origin of the deployed console (https://console.ravisarode.com).
Separation from docs
| Site | Domain | Content |
|---|---|---|
| Documentation | document.ravisarode.com | This Docusaurus site |
| Console | console.ravisarode.com | React dashboard build |