A cloud-based interactive website that provides real-time information about natural disasters in Indonesia using React, Leaflet.js, and Amazon Web Services (AWS). The system is designed to provide easy and quick access to disaster mitigation information for the public and stakeholders.
This project is designed to visualize real-time natural disaster data using an interactive map equipped with specific icons for each type of disaster. The system leverages AWS cloud technology to ensure scalability and information availability, and is responsively designed to be accessible across various devices.
- Access Website: Open the website through your browser.
- Explore Map: Use zoom and drag features to explore disaster locations across Indonesia.
- Click Disaster Icons: Get detailed information such as disaster type, location, time, and severity.
- Use Filters: Select specific disaster types through buttons on the right side of the screen.
- View Mode: Switch between light/dark modes via the button in the top right corner.
- Real-Time Data: Latest disaster information directly from BMKG API.
- Interactive Map: Users can explore disaster locations with zoom, drag, and click icon features for detailed information.
- Disaster Filtering: Select specific disaster types such as earthquakes, floods, or tsunamis.
- Light/Dark Mode: Adjustable display for user comfort.
- Responsive Design: Optimally accessible on desktop, tablet, and mobile devices.
-
Clone the repository:
git clone https://github.com/username/project-name.git cd project-name
-
Install dependencies:
npm install
-
Configure
.env
file: Create a.env
file in the project root and enter the following variables:VITE_AWS_ACCESS_KEY_ID=your-aws-key-id VITE_AWS_SECRET_ACCESS_KEY=your-aws-secret-access-key VITE_AWS_REGION=your-aws-region
-
Run local application:
npm run dev
-
Deploy to Vercel:
- Connect repository to Vercel account.
- Set the same environment variables in the project settings on Vercel.
- Deploy through Vercel dashboard.
- Adding early warning notification features.
- Integration with historical data for long-term analysis.
- Optimization for areas with low internet connectivity.
- Adding user personalization features.
- Development of data-based reports for policymakers.
Contributions in the form of code, ideas, or suggestions are welcome!
- Fork this repository.
- Create a branch for new features.
- Commit your changes.
- Push to your branch.
- Create a Pull Request.
This project is protected by the MIT License. Please check the LICENSE
file for more information.
If you have any questions or suggestions, please open a new issue in this repository.