Skip to content

NAYAMATVISION/Disaster-Managment-Updated

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ ΰ€Έΰ₯ΰ€°ΰ€•ΰ₯ΰ€·ΰ€Ύΰ€Έΰ₯‡ΰ€€ΰ₯ - Disaster Management System

Disaster Management AI Powered Flask Python

Empowering Resilience Through Preparedness & Action

A comprehensive AI-powered disaster management platform for emergency response, community support, and real-time assistance.


πŸ‘₯ Team Members

🌟 Richa 🌟 Nayamat 🌟 Sukriti 🌟 Vanya

πŸš€ Features

πŸ€– AI-Powered Chatbot

  • Groq LLaMA Integration for intelligent disaster guidance
  • Real-time emergency assistance and safety tips
  • Contextual responses for earthquake, flood, fire emergencies

πŸ†˜ SOS Emergency System

  • One-click GPS-based emergency alerts
  • Automatic email notifications to authorities
  • Real-time location tracking and mapping

πŸ‘₯ Missing Persons Database

  • Report and search missing persons
  • Photo uploads and detailed descriptions
  • Sighting reports with location tracking
  • Admin verification system

🀝 Volunteer Management

  • Volunteer registration and skill matching
  • Role-based applications (Medical, Rescue, Support)
  • Availability tracking and coordination

πŸ“° Rumor Verification

  • AI-powered fake news detection
  • Real-time credibility analysis
  • Source verification and fact-checking

πŸ“§ Alert System

  • Location-based emergency notifications
  • Email alerts for registered users
  • Admin dashboard for mass communications

πŸ”’ Data Validation

  • Pydantic-powered input validation
  • Secure API endpoints
  • Type safety and error handling

πŸ› οΈ Technology Stack

Component Technology
Backend Flask 2.3.3, SQLAlchemy
AI/ML Groq API, Transformers, PyTorch
Validation Pydantic 2.5.0
Database SQLite
Frontend HTML5, CSS3, JavaScript
Maps Leaflet.js
Email SMTP Integration

⚑ Quick Start

1. Clone & Install

git clone <repository-url>
cd Movathon
pip install -r requirements.txt

2. Configure API Key

# Get API key from: https://console.groq.com/
# Edit .env file:
GROQ_API_KEY=your_groq_api_key_here

3. Run Application

python app.py

4. Access System


πŸ“± Screenshots

🏠 Homepage with Live Threat Dashboard

  • Interactive disaster map with real-time alerts
  • AI chatbot integration
  • Quick access to emergency features

πŸ†˜ SOS Emergency Interface

  • One-click emergency button
  • GPS location detection
  • Instant alert dispatch

πŸ€– AI Disaster Assistant

  • Intelligent conversation interface
  • Context-aware emergency guidance
  • Multi-language support ready

πŸ‘₯ Missing Persons Portal

  • Advanced search and filtering
  • Photo upload and verification
  • Sighting report system

πŸ”§ API Endpoints

Endpoint Method Description
/api/chat POST AI chatbot interaction
/api/send-sos POST Emergency SOS alerts
/api/rumor-check POST Fake news verification
/missing/report POST Missing person reports
/volunteer/register POST Volunteer registration

πŸ† Key Achievements

βœ… Real-time AI assistance for disaster scenarios
βœ… GPS-based emergency response system
βœ… Comprehensive data validation with Pydantic
βœ… Multi-modal communication (Email, Web, Mobile-ready)
βœ… Scalable architecture for high-traffic scenarios
βœ… Security-first design with input sanitization
βœ… Admin dashboard for emergency coordination
βœ… Community-driven missing persons database


🌟 Innovation Highlights

🧠 AI-Powered Decision Making

  • LLaMA model integration for contextual emergency guidance
  • Real-time rumor detection and fact-checking
  • Intelligent volunteer-task matching

πŸ—ΊοΈ Geospatial Intelligence

  • Interactive disaster mapping with Leaflet.js
  • GPS-based emergency location services
  • Location-aware alert distribution

πŸ” Enterprise-Grade Security

  • Pydantic data validation for all inputs
  • SQL injection prevention
  • Secure API authentication

πŸ“Š System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Frontend      β”‚    β”‚   Flask Backend  β”‚    β”‚   External APIs β”‚
β”‚   (HTML/CSS/JS) │◄──►│   + Pydantic     │◄──►│   Groq AI       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                β”‚
                       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                       β”‚   SQLite DB      β”‚
                       β”‚   + File Storage β”‚
                       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Future Enhancements

  • πŸ“± Mobile App (React Native)
  • 🌐 Multi-language Support (Hindi, Regional languages)
  • πŸ“‘ IoT Integration (Sensor data, Weather APIs)
  • πŸ€– Advanced ML Models (Disaster prediction)
  • πŸ”” Push Notifications (Real-time alerts)
  • πŸ“Š Analytics Dashboard (Response metrics)

🀝 Contributing

We welcome contributions! Please feel free to submit issues, feature requests, or pull requests.


πŸ“„ License

This project is developed for educational and humanitarian purposes.


🌟 Built with ❀️ by Team Richa, Nayamat, Sukriti & Vanya

Making communities safer, one click at a time πŸ›‘οΈ

Made with Python Powered by AI Built with Flask

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 84.7%
  • Python 15.3%