Frontend integration: real auth/dashboard APIs, JWT flow, and public properties fallback
-
Aligns login payload handling with backend expectations and token persistence.
-
Integrates investor dashboard page with real backend data (metrics, activity, owned/recommended assets).
-
Adds resilient loading strategy so dashboard still renders when non-critical upstream calls fail.
-
Adds public catalogue fallback behavior for unauthenticated users when catalogue API is temporarily unavailable.
-
Keeps investment actions protected (redirect to login/KYC when required).
-
Replaces mock-driven behavior with production-like API integration.
-
Improves UX for both authenticated and guest users.
-
Prevents full-page failure due to partial upstream instability.
Validation
- Frontend build passes successfully.
- Dashboard/auth flows tested with gateway JWT token path.
- Guest browsing of properties preserved with guarded invest actions.