This project is a React application built with Vite, TypeScript, and Material-UI. It displays battery charging data in a user-friendly dashboard.
public/
: Public assets and mock data (backend-response.json).src/
: Contains the source code of the application.components/
: Reusable UI components.charts/
: Chart components (e.g., AreaChart).ui/
: UI components (e.g., Header).
constants/
: Constants.layout/
: Layout components (e.g., AppLayout).pages/
: Application pages.providers/
: Providers (e.g., AppProvider).routes/
: Application routes.types/
: Type definitions.theme/
: Theme configuration.App.tsx
: Root component.main.tsx
: Entry point.
- โก๏ธ Vite for fast development and building
- ๐ TypeScript for type safety
- โ๏ธ React for building user interfaces
- ๐ Material-UI for consistent, responsive, and accessible design
- ๐ MUI X-Charts for accessible data visualization
- ๐งญ React Router for navigation
- ๐จ Emotion for CSS-in-JS styling
- ๐งน ESLint for code quality
- ๐ Absolute imports configured in ESLint
- ๐ Prettier for code formatting
- ๐ถ Husky for Git hooks
- ๐ซ lint-staged for running linters on Git staged files
- ๐ commitlint for conventional commit messages
- ๐ Absolute imports configured
- ๐ฆ Lazy loading and code splitting for optimized performance
- ๐ค robots.txt file for proper web crawler guidance
- Clone the repository
- Install dependencies:
pnpm install
- Start the development server:
pnpm run dev
pnpm run dev
: Start the development serverpnpm run build
: Build for productionpnpm run lint
: Run ESLintpnpm run preview
: Preview the production build locallypnpm run prepare
: Set up Husky
This project uses conventional commits. Please follow the Conventional Commits specification when making commits.
Contributions are welcome! Please ensure you follow the project's commit convention and code style guidelines.