[Frontend] Project Setup - Svelte with TypeScript #20
Reference in New Issue
Block a user
Delete Branch "fix/issue-9"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implemented issue #9 - Frontend Project Setup with Svelte and TypeScript.
Changes Made
New frontend project structure (
src/frontend/):/- Landing page (redirects to dashboard if logged in)/login- Login form/register- Registration form/dashboard- Bot management dashboard/bot/[id]- Bot chat interface/bot/[id]/backtest- Backtest configuration and history/bot/[id]/simulate- Simulation configuration and signals/settings- User settingsState Management (Svelte stores):
userStore- Current user infobotsStore- List of user's botscurrentBotStore- Selected botchatStore- Chat messagesbacktestStore- Backtest resultssimulationStore- Simulation signalsauthStore- Authentication state with login/register/logoutAPI Client:
Environment Configuration:
.env.examplewithVITE_API_URLandVITE_WS_URLDependencies
Related Issue
Fixes #9
lgtm