Vite + React frontend for the Autonomous Financial Optimizer.
npm installCopy .env.example to .env and set the API base URL if needed:
cp .env.example .envVITE_API_BASE_URL– Backend server root (default:http://localhost:3000). No trailing slash. Used forGET /healthandPOST /api/ai/autopilot.
npm run devOpen http://localhost:5173.
npm run buildOutput in dist/. Preview with:
npm run previewsrc/
├── components/ # Shared UI (DashboardLayout, WalletSimulationPanel, GoalsSection, SettingsSection, …)
├── features/ # Feature modules (e.g. autopilot)
├── services/ # API client (api.js)
├── App.jsx
├── main.jsx
└── index.css
- React 18
- Vite 6
- TailwindCSS 3