This is a Disaster Management System developed using the MERN stack (MongoDB, Express.js, React.js, Node.js). This system allows users to report incidents related to natural disasters and notifies users in the affected area after admin verification.
- Features
- Prerequisites
- Installation
- Environment Variables
- Running the Development Server
- Usage
- Contributing
- License
- Users can report incidents with details and photos.
- Admin verification of reported incidents.
- Email notifications to users in the affected area after admin confirmation.
- Responsive and user-friendly interface built with React.js.
- Node.js
- MongoDB
-
Clone the repository:
git clone https://github.com/WarmHands-DMS/warmhands.git cd warmhands -
Install dependencies:
cd frontend npm install cd.. cd backend npm install cd ..
Create a .env file in the root directory and add the following:
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
EMAIL_SERVICE=your_email_service
EMAIL_USER=your_email_user
EMAIL_PASS=your_email_password
Running the Frontend:
npm startRunning the backend server:
npm run dev- Open your browser and go to
http://localhost:5173. - Register or log in to the system.
- Report an incident by filling out the incident report form.
- Admin will verify the report.
- Verified incidents will trigger email notifications to users in the affected area.
Contributions are welcome! Please open an issue or submit a pull request for any changes.
This project is licensed under the MIT License. See the LICENSE file for details.
