Description
Update the web frontend to call the real backend API instead of using in-memory mock data.
This is the final integration step that makes the dashboard fully functional.
Tasks
Acceptance Criteria
- All dashboard components render with real data from the API
- Loading states show appropriate spinners/placeholders
- Error states show meaningful messages with retry options
- Authentication flow works (login page to token to API calls)
- Tests pass with mocked API calls
Labels
enhancement, frontend, integration
Description
Update the web frontend to call the real backend API instead of using in-memory mock data.
This is the final integration step that makes the dashboard fully functional.
Tasks
web/src/api/loyalty.tsto make real HTTP calls to/api/v1/loyalty/*web/src/api/transactions.tsto make real HTTP calls to/api/v1/transactions/*web/src/api/client.tswith:lib/types.tsFraudDetectionPanel.tsxto fetch from/api/v1/fraud/*ModelMonitoringDashboard.tsxto fetch from/api/v1/monitoring/*useWebSocket.tsfor real-time dataVITE_API_BASE_URLfor configurable API URLAcceptance Criteria
Labels
enhancement,frontend,integration