- Added FastAPI backend with core API endpoints for strategies, backtests, and data management. - Introduced Vue 3 frontend with a dark theme, enabling users to run backtests, adjust parameters, and compare results. - Implemented Pydantic schemas for request/response validation and SQLAlchemy models for database interactions. - Enhanced project structure with dedicated modules for services, routers, and components. - Updated dependencies in `pyproject.toml` and `frontend/package.json` to include FastAPI, SQLAlchemy, and Vue-related packages. - Improved `.gitignore` to exclude unnecessary files and directories.
22 lines
470 B
TypeScript
22 lines
470 B
TypeScript
import { createRouter, createWebHistory } from 'vue-router'
|
|
import DashboardView from '@/views/DashboardView.vue'
|
|
import CompareView from '@/views/CompareView.vue'
|
|
|
|
const router = createRouter({
|
|
history: createWebHistory(import.meta.env.BASE_URL),
|
|
routes: [
|
|
{
|
|
path: '/',
|
|
name: 'dashboard',
|
|
component: DashboardView,
|
|
},
|
|
{
|
|
path: '/compare',
|
|
name: 'compare',
|
|
component: CompareView,
|
|
},
|
|
],
|
|
})
|
|
|
|
export default router
|