User interface for the CarCharging system. It visualizes the energy mix forecast for the upcoming days and allows users to calculate the most eco-friendly charging window in upcoming 48h.
Do you want a preview? Here you can check it!
- Framework: [React]
- Language: [TypeScript]
- HTTP Client: [Axios]
- Visualization: [Recharts]
- Style: [CSS Inline Styles]
src/
├── components/ # UI elements
│ ├── ForecastDashboard.tsx # Container for charts
│ ├── FuelMixChart.tsx # Chart maker
│ └── SmartCalculator.tsx # Form and result for car charging window
│
├── hooks/ # Connection to backend
│ └── useEnergyApi.ts # EndPoints use
│
├── interfaces/ # Interfaces used
│ └── types.ts # DTOs
│
├── pages/ # Pages
│ └── index.tsx # Main page with all elements
│
└── utils/ # Config files
└── config.ts # backend URL
yarn install
yarn devand open http://localhost:3000
Feel free to use it.