A modern, interactive dashboard application built with SvelteKit for data visualization and analytics.
Clone the repository:
git clone <repository-url>
cd svelte-frontend
Install dependencies:
npm install
Start the development server:
npm run dev
Open your browser and navigate to http://localhost:5173
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production buildnpm run check
- Run type checkingnpm run lint
- Run lintersrc/
├── lib/ # Shared utilities and components
│ ├── components/ # Reusable components
│ ├── data/ # Sample data files
│ ├── types.ts # TypeScript type definitions
│ └── visualizations.ts # Chart rendering logic
├── routes/ # SvelteKit routes
│ ├── chat/ # Chat interface
│ ├── dashboards/ # Dashboard management
│ └── settings/ # Application settings
├── app.css # Global styles and design tokens
└── app.html # HTML template
The application supports multiple data source types:
The application uses CSS custom properties for theming. Modify the design tokens in src/app.css
:
:root {
--color-primary: #8b1538;
--color-secondary: #d4af37;
--color-accent: #f4e4bc;
/* ... more theme variables */
}
Widget
type in src/lib/types.ts
src/lib/visualizations.ts
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the MIT License - see the LICENSE file for details.