Trading Terminal
Stable, mobile-first control surface for readiness, settings, and execution visibility.
This frontend is designed to stay online under missing auth, slow APIs, null payloads, malformed JSON, and partial backend outages. Token-protected routes fetch client-side only.
API base
https://api.stocktropia.com
Configured from NEXT_PUBLIC_API_BASE_URL with fallback.
API status
CHECKING
Session token
MISSING
Connection model
The app degrades safely instead of crashing.
Auth routes store JWT in `localStorage["token"]` and protected pages fetch only after mount.
401 responses clear the session and send the browser back to `/login`.
Safety defaults
Frontend failures never issue trading actions implicitly.
Operational note
Slow or unavailable APIs still render a valid UI state with explicit degraded messaging.