A modern, interactive map dashboard built with React and Vite. This project provides a user-friendly interface for visualizing and interacting with geospatial data layers.
- Interactive map visualization (placeholder, ready for integration)
- Layer controls for toggling map data
- Custom UI components (Button, CheckBox)
- Responsive layout and styling
- Mock data for development and testing
- Modular component structure
- Node.js (v18 or higher recommended)
- npm (v9 or higher)
- Clone the repository:
git clone https://github.com/OpenSourceFellows/map-dashboard.git cd map-dashboard/frontend
- Install dependencies:
npm install
To start the development server:
npm run dev
The app will be available at http://localhost:5173
by default.
frontend/
├── public/ # Static assets
├── src/ # Source code
│ ├── components/ # UI and map components
│ ├── data/ # Mock data
│ ├── hooks/ # Custom React hooks
│ ├── styles/ # CSS files
│ ├── types/ # TypeScript types
│ ├── App.tsx # Main app component
│ └── main.tsx # Entry point
├── package.json # Project metadata and scripts
├── vite.config.ts # Vite configuration
└── README.md # Project documentation
- React – UI library
- Vite – Fast build tool
- TypeScript – Type safety
- ESLint – Linting
Header
– App title and navigationMapContainer
– Map area and controlsLayerControls
– Toggle map layersMapLegend
– Map legendButton
&CheckBox
– UI elements
- Clone the repository
- Create a new branch (
git checkout -b feature/your-feature
) - Commit your changes
- Push to your branch and open a pull request
This project is open source and available under the MIT License.