Lifeline is an all-in-one healthcare and emergency dispatch platform designed to provide instant access to medical services. From emergency ambulance requests to scheduled doctor consultations, pharmacy delivery, and IoT hardware integration, Lifeline is built for speed, safety, and a premium user experience.
- Emergency SOS: One-tap ambulance dispatch with real-time tracking and estimated arrival times.
- Medic Home: Professional nurse dispatch for at-home medical support.
- Doctor Consultations: In-app chat and video calls with physicians, along with clinical appointment booking.
- Pharmacy & Medicine Finder: Search for medicines, upload prescriptions, and get express delivery from verified local pharmacies.
- Health Checker: Intelligent symptom analysis to guide you towards the right medical attention.
- Smart Tracking & Alerts: Persistent, real-time tracking banners across all screens for your active dispatches with a unified Navigation Header system.
- Premium Design: Full support for both Dark Mode and Light Mode with a sleek, high-performance UI and consistent side gutters.
- IoT SOS Integration: Fully synchronized with ESP32 hardware for physical emergency triggers, featuring non-blocking firmware and custom melodic feedback.
- Framework: React Native with Expo
- Navigation: Expo Router (File-based routing)
- Styling: Dynamic, theme-aware Vanilla CSS-in-JS
- Icons: Ionicons
- Local Storage: AsyncStorage
- State Management: React Context API for global dispatch and authentication tracking.
- IoT Backend: Standalone ESP32 WebServer (AP Mode) for direct, serverless hardware-to-app communication. No laptop or cloud tunnel required.
- Clone the repository:
git clone https://github.com/Deeptanil/RapidCare.git cd RapidCare - Install dependencies:
npm install
- Start the development server:
npx expo start
- Android/iOS: Scan the QR code using the Expo Go app.
- Web: Press
win the terminal to start the web version.
The ESP32 now acts as its own server and Wi-Fi hotspot, allowing the system to work in the field without a laptop or internet.
- SSID:
RapidCare_SOS - Password:
rapidcare123 - Local IP:
192.168.4.1
- Flash Hardware: Upload the code in
esp32_emergency/to your ESP32. - Connect Phone: Join the "RapidCare_SOS" Wi-Fi network on your phone.
- Run App: Open the RapidCare app. It will automatically detect the button at the static local IP.
- Trigger: Press the physical button. The app will immediately jump to the SOS dispatch selection (or auto-trigger an ambulance depending on your settings).
- Double-Beep: Confirms successful button press.
- Yellow Blink: Waiting for app acknowledgment (30-second window).
- Continuous Beep: Prompting the user to re-press if the app fails to respond after 30s.
- Green LED: Emergency confirmed and dispatch is active.
To generate a standalone Android APK:
- Configure EAS: Ensure
eas.jsonis set up with thepreviewprofile. - Verify Assets: Ensure
assets/map.pngis bundled for offline map support. - Run Build:
npx eas build -p android --profile preview
- Install: Use the provided QR code or URL to download and install the final
.apk.
Important
The standalone build is pre-configured to look for the hardware at 192.168.4.1. Ensure your phone is connected to the button's hotspot before use.
Distributed under the MIT License. See LICENSE for more information.
RapidCare - Your Local Emergency Dispatch Partner.