How sharma572/chargecity works
Project type and purpose
• This is a single-page React dashboard application (an “admin panel”) bootstrapped with Create React App.
• It provides charts, tables, widgets, navigation, dark-mode support, and forms, all implemented purely in the front end.
File structure
Top-level:
• public/ – static index.html and assets served by a static web server or CDN
• src/ – all application code
– index.js & App.js: application entry point and root component
– components/…: reusable UI widgets (charts, tables, featured items, navbar, sidebar, widget) each with .jsx and .scss
– pages/…: route-level components (home, list, single, new, login) each with their own styling
– context/: React Context + reducer for dark-mode toggling
– datatablesource.js & formSource.js: hard-coded or mock data sets for tables and forms
– style/: global SCSS files (e.g., Dark.scss)
– utils/: any helper functions (not shown in tree but reserved for utilities)
README for additional insights
• No custom architecture notes—standard CRA setup.
• No back-end code: implies that API calls will go to external services (real or mock).