Skip to content

vikrantwiz02/Saviour

Repository files navigation

🌟 SAVIOUR - Disaster Management Platform

Saviour Logo

Empowering communities to prepare, respond, and recover from disasters

πŸš€ Overview

SAVIOUR is a cutting-edge disaster management platform built to save lives and strengthen community resilience during emergencies. Leveraging modern mobile technologies, our application delivers:

  • ⚑ Real-time emergency coordination
  • πŸ”” Instant alerts and notifications
  • πŸ“ Location-based resource tracking
  • πŸ‘₯ Community support networks
  • πŸ“Š Resource management tools
  • πŸ›‘οΈ Comprehensive safety information
  • πŸ“± Available on iOS and Android platforms

✨ Key Features

🚨 Emergency Alert System

Expand for details
  • Real-time SOS alerts with location tracking
  • Multi-level emergency categorization (High/Medium/Low priority)
  • Support for various emergency types (Medical, Fire, Natural Disasters, etc.)
  • Image upload capability for emergency documentation
  • 5-second cancellation window for accidental alerts

πŸ—ΊοΈ Navigation & Location Services

Expand for details
  • Fast location detection with caching for immediate response
  • Fallback mechanisms for geolocation services
  • Integration with OpenWeatherMap for local weather alerts
  • Map visualization of nearby emergencies and resources

πŸ“Š Resource Management

Expand for details
  • Track essential supplies in your area
  • Request and offer resources during emergencies
  • Inventory management for disaster response teams
  • Base64 storage for images and documents

πŸ‘₯ Community Support

Expand for details
  • User-to-user assistance network
  • Community chat for local coordination
  • Help tracking for emergency responders
  • SOS response coordination

πŸ“± User & Admin Dashboards

Expand for details
  • User-friendly dashboards with real-time updates
  • Admin controls for resource allocation and emergency management
  • Safety statistics and activity tracking
  • Quick action buttons for common emergency tasks

πŸ›‘οΈ Safety Information

Expand for details
  • Comprehensive safety guidelines for different emergencies
  • Video tutorials for first aid and safety procedures
  • Interactive safety guide for various disaster scenarios
  • Educational resources on disaster preparedness

πŸ’» Technical Stack

React Native Expo TypeScript

Firebase Expo Router iOS

Android License

Frontend Backend Mobile Features
  • React Native 0.79.5
  • Expo SDK 53.0.12
  • Native Base Components
  • React Context API
  • React Native Maps
  • Reanimated Animations
  • Firebase Firestore
  • Firebase Authentication
  • Firebase Cloud Messaging
  • Expo Notifications
  • OpenWeatherMap API
  • File-based Routing
  • Push Notifications
  • Location Services
  • Haptic Feedback
  • Media Playback
  • Offline Support

πŸ“‚ Project Structure

saviour-mobile/
β”œβ”€β”€ app/                     # Main application screens using file-based routing
β”‚   β”œβ”€β”€ (auth)/              # Authentication screens (login, signup, forgot-password)
β”‚   β”œβ”€β”€ (tabs)/              # Main tab (User) navigation screens
β”‚   β”œβ”€β”€ Admin/               # Administrator-specific screens
β”‚   └── Employee/            # Employee-specific screens
β”œβ”€β”€ assets/                  # Images, fonts, videos, and sounds
β”‚   β”œβ”€β”€ fonts/               # Custom fonts
β”‚   β”œβ”€β”€ images/              # App images and icons
β”‚   β”œβ”€β”€ safety-videos/       # Safety tutorial videos
β”‚   └── sounds/              # Alert and notification sounds
β”œβ”€β”€ components/              # Reusable UI components
β”‚   β”œβ”€β”€ Chat/                # Chat-related components
β”‚   β”œβ”€β”€ Map/                 # Map visualization components
β”‚   β”œβ”€β”€ Modals/              # Modal dialogs
β”‚   β”œβ”€β”€ Safety/              # Safety information components
β”‚   └── ui/                  # Base UI components
β”œβ”€β”€ constants/               # Theme configurations and color schemes
β”œβ”€β”€ context/                 # React Context providers (Auth, Theme)
β”œβ”€β”€ hooks/                   # Custom React hooks
└── lib/                     # Utility functions and configurations

οΏ½ Getting Started

Prerequisites
  • Node.js (v18 or newer)
  • npm or yarn
  • Expo CLI
  • iOS Simulator (for iOS) or Android Emulator (for Android)
  • Firebase account

πŸ“± Installation Steps

  1. Clone the repository:
git clone https://github.com/vikrantwiz02/Saviour.git
cd Saviour
  1. Install dependencies:
npm install
  1. Set up Firebase configuration:

    • Create a Firebase project
    • Add iOS and Android apps to your Firebase project
    • Configure the Firebase credentials in /lib/firebase.ts
  2. Start the development server:

npx expo start
  1. Run on specific platform:
# For iOS
npx expo start
press i or scan the QR from Expo Go app

# For Android
npx expo start
press a or scan the QR from Expo Go app

⚑ Performance Optimizations

πŸš€

Location caching

⚑

Optimized Firebase queries

πŸ“±

Progressive loading
Speeds up emergency responses Faster data retrieval Optimized UI components

πŸ“

Geolocation fallbacks

πŸ–ΌοΈ

Expo Image optimization

🌐

Offline capability
Multiple location sources Efficient image handling Core features work without internet

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgements

React Native Expo Firebase Expo Router OpenWeatherMap API

✨ Team & Contributors


Built with ❀️ by the SAVIOUR team

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •