A Real-Time Emergency Response System for the Philippines
Connecting citizens with emergency responders through instant location-based assistance
Features โข Installation โข Documentation โข Contributing
e-Alert is a comprehensive emergency response mobile application built with React Native and Expo. The app enables real-time communication between citizens in distress and emergency responders including Police (PNP), Fire Department (BFP), Medical Services, and Flood/Rescue teams.
- ๐ Triple-tap SOS - Quick emergency activation
- ๐ Real-time GPS Tracking - Live location sharing
- ๐บ๏ธ Interactive Maps - See responder location and ETA
- ๐ฌ In-App Chat - Direct communication with responders
- ๐ Emergency Hotlines - Nationwide contact directory
- ๐ฎ Multi-Role System - User, Responder, and Admin interfaces
๐ For complete feature list, algorithms, and technical documentation, see DOCUMENTATION.md
| Requirement | Version | Download |
|---|---|---|
| Node.js | v18.0.0+ | nodejs.org |
| npm | v9.0.0+ | Included with Node.js |
| Git | Latest | git-scm.com |
| Expo Go App | v54+ | iOS / Android |
git clone https://github.com/lloydbrianmosca-cpu/e-alert-app.git
cd e-alert-appnpm installnpm start- Open Expo Go app on your mobile device
- Scan the QR code from the terminal
- App will load on your device
npm run android
# OR
expo run:androidnpm run ios
# OR
expo run:iosThe app comes pre-configured with Firebase. To use your own Firebase project:
-
Create a project at Firebase Console
-
Enable:
- โ Authentication (Email/Password)
- โ Cloud Firestore
- โ Storage
-
Update
src/services/firebase.js:
const firebaseConfig = {
apiKey: "YOUR_API_KEY",
authDomain: "YOUR_PROJECT.firebaseapp.com",
projectId: "YOUR_PROJECT_ID",
storageBucket: "YOUR_PROJECT.appspot.com",
messagingSenderId: "YOUR_SENDER_ID",
appId: "YOUR_APP_ID"
};# Preview APK
eas build -p android --profile preview
# Production AAB (for Play Store)
eas build -p android --profile production# Production build (for App Store)
eas build -p ios --profile productione-alert-app/
โโโ App.js # Root component
โโโ src/
โ โโโ components/ # Reusable UI components
โ โโโ constants/ # App constants
โ โโโ context/ # React Context (Auth, Emergency, Chat)
โ โโโ navigation/ # Navigation setup
โ โโโ screens/ # App screens
โ โโโ services/ # Firebase services
โโโ android/ # Android native code
โโโ ios/ # iOS native code
โโโ functions/ # Firebase Cloud Functions
๐ For complete project structure, see DOCUMENTATION.md
| Category | Technologies |
|---|---|
| Frontend | React Native, Expo, React Navigation |
| Backend | Firebase Auth, Firestore, Storage |
| Maps | React Native Maps (Google Maps) |
| Location | Expo Location |
For comprehensive documentation including:
- โ Complete feature list
- โ System architecture
- โ Algorithms & formulas (Haversine, ETA calculation)
- โ Firebase configuration & security rules
- โ API documentation
- โ Color scheme & UI guidelines
๐ See DOCUMENTATION.md
- Fork the repository
- Create your feature branch
git checkout -b feature/AmazingFeature
- Commit your changes
git commit -m 'Add some AmazingFeature' - Push to the branch
git push origin feature/AmazingFeature
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Lance Adrian Acal - Full Stack Developer
Jericho Delos Reyes - Frontend Developer
Lee Adrian Norona - Backend Developer
Lloyd Brian Mosca - Client
- React Native & Expo teams
- Firebase documentation
- Philippine National Police (PNP)
- Bureau of Fire Protection (BFP)
- Department of Health (DOH)
- NDRRMC
โญ Star this repository if you find it helpful! โญ
Made with โค๏ธ in the Philippines ๐ต๐ญ