Vite + React 18 + TypeScript project with: - Tailwind CSS for styling (dark theme, trading-focused color palette) - React Router with 6 dashboard routes (Trading, Risk, ML, Performance, Backtest, Config) and keyboard shortcuts (T/R/M/P/B/C) - TanStack Query for data fetching with auto-refetch - Shared lib layer: typed API client, WebSocket manager with auto-reconnect and topic subscriptions, auth (JWT in localStorage) - React hooks: useAuth, useApi (query/mutation wrappers), useWebSocket - DashboardLayout with nav tabs and StatusBar (WS connection, auth status) - Stub pages with placeholder component layouts matching design doc Vite proxy configured to forward /api/* to gateway at localhost:3000. TypeScript passes with zero errors, production build succeeds. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
362 B
HTML
14 lines
362 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>web-dashboard</title>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|