Skip to content

dchaudhari7177/Alert-Bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

31 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🚨 AlertBridge

AlertBridge is a disaster readiness and response web application built using the MERN stack (MongoDB, Express.js, React, Node.js). It aims to bridge the communication gap during emergencies by enabling real-time alerts, location tracking, and centralized admin control, thereby enhancing coordination and safety.


πŸ“Œ Features

βœ… User Side

  • πŸ“ Location Detection: Automatically fetches the user’s real-time location.
  • πŸ†˜ β€œI Am Unsafe” Button: Instantly sends the user’s location to the admin panel.
  • 🌦️ Live Weather Info: Shows real-time weather based on location.
  • πŸ“© Login/Signup: Supports authentication for Job Seekers, Employers, and Admins.
  • 🌐 Responsive UI: Tailwind CSS-based modern design.

βœ… Admin Side

  • πŸ—ΊοΈ Live Alerts Dashboard: View location-based alerts from users in real-time.
  • πŸ“Š Analytics: View location trends, alert heatmaps (future enhancement).
  • πŸ“₯ Data Management: Manage user data and incoming alert messages.

πŸ› οΈ Tech Stack

Technology Description
React.js Frontend UI
Node.js & Express.js Backend REST API
MongoDB NoSQL Database
Socket.io Real-time communication
Tailwind CSS Styling framework
OpenWeatherMap API Weather information
Geolocation API To fetch user coordinates

## βš™οΈ Installation & Setup

### 1. Clone the Repository
```bash
git clone https://github.com/your-username/AlertBridge.git
cd AlertBridge

2. Setup Backend

cd backend
npm install
node server.js

3. Setup Frontend

cd frontend
npm install
npm start

Make sure MongoDB is running and replace environment variables as needed in .env.


🌍 Environment Variables

Create a .env file in the backend directory with the following:

PORT=5000
MONGO_URI=your_mongo_connection_string
WEATHER_API_KEY=your_openweathermap_api_key

🚧 Future Enhancements

  • πŸ“Š Real-time disaster heatmaps
  • πŸ“± PWA support for offline use
  • πŸ“Œ SMS/Email alerts integration
  • πŸ” Role-based dashboards with detailed logs

πŸ™Œ Contribution

Feel free to fork and submit pull requests! Any feedback or suggestions are welcome.


πŸ‘¨β€πŸ’» Author

Dipak Chaudhari πŸš€ BTech CSE | Web Dev Enthusiast πŸ“« Email: dipakchaudhari171@gmail.com 🌐 LinkedIn | GitHub

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages