A comprehensive platform for disaster preparedness, response, and recovery in Bangladesh.
The Disaster Response Network (DRN) is a platform designed to improve disaster management by providing real-time alerts, AI-powered assistance, and optimized resource allocation. The platform includes both an Android app and a web interface.
- Real-time disaster alerts
- AI-powered chatbot for assistance
- Resource allocation optimization
- Incident reporting and volunteer management
- Real-time mapping with location tracking
- Evacuation route mapping
- Multilingual support for global collaboration
- Donation system
- Frontend: Next.js with DaisyUI
- Backend: Spring Boot
- Database: PostgreSQL
- Mobile App: Android (Java)
- APIs:
- Google Maps (Location Services)
- Google AI Studio
- Google Speech Recognition
-
Clone the repository:
git clone https://github.com/mahbd/drn.git
-
Navigate to the project directory:
cd drn
-
Install frontend dependencies:
npm install
-
Install backend dependencies:
mvn clean install
-
Set up PostgreSQL database:
CREATE DATABASE db_name; # Replace db_name with the name in application.properties CREATE USER drn_admin WITH ENCRYPTED PASSWORD 'your_password'; GRANT ALL PRIVILEGES ON DATABASE drn_db TO drn_admin;
-
Configure environment variables for the backend:
- Set database credentials, API keys, and other configurations in
.env
.
- Set database credentials, API keys, and other configurations in
-
Start the project:
- Frontend:
npm run dev
- Backend:
java -jar target/user-service-0.0.1-SNAPSHOT.jar java -jar target/alert-service-0.0.1-SNAPSHOT.jar java -jar target/api-gateway-0.0.1-SNAPSHOT.jar java -jar target/chatbot-service-0.0.1-SNAPSHOT.jar java -jar target/donation-service-0.0.1-SNAPSHOT.jar java -jar target/others-service-0.0.1-SNAPSHOT.jar
- Frontend:
Once the installation is complete, you can access the platform via:
- Web: Open
http://localhost:3000
for the web interface. - Android: Install the Android app to receive disaster alerts on the go.
We welcome contributions to the DRN project! To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
- Make your changes and commit them:
git commit -m "Add feature"
- Push to your forked repository:
git push origin feature/your-feature
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
Let me know if you'd like to modify or add anything to this template!