Skip to content

dimitraseferiadi/Life-Saver-App

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

LifeSaver – Emergency Medical Companion

LifeSaver is a mobile application built with Flutter that provides real-time first aid guidance and emergency support. The application allows users to manage their medical profiles, receive step-by-step help during medical emergencies, and interact with connected first aid devices.

The user can create a personal profile that stores essential medical data such as allergies, medications, medical history, and emergency contacts. This data is saved in a MySQL database and accessed via a custom Python-based API. The application adjusts the presentation of information based on the user’s experience level to make emergency instructions more accessible and easier to follow.

The application includes AR functionality to assist users during emergency procedures. Through AR overlays, users receive visual guidance on how to perform actions such as CPR, treating wounds, and handling burns. This feature is implemented using available AR packages in Flutter, providing an interactive layer on top of the textual instructions.

A basic gamification system is implemented to encourage users to engage with the educational content. Users earn points after completing training modules, which are tracked locally within the app interface.

To enhance interactivity with physical devices, the app supports Bluetooth connectivity. It can detect compatible medical equipment such as defibrillators and provides device-specific instructions once a connection is established. In cases where the user needs help quickly, the app includes a call functionality that allows direct phone calls to emergency contacts.

The app is functional offline. All essential first aid instructions and user data can be accessed without an internet connection, as core content is preloaded with the app.


Installation & Setup

  1. Clone the repository:
git clone https://github.com/elisavetpapadopoulou/Life-Saver-App.git
  1. Database setup:

Install a SQL server (e.g. MySQL via XAMPP) and run the following SQL files in the MySQL terminal:

SOURCE my_flutter_project/Delete_database.sql;
SOURCE my_flutter_project/lifesaver_create_database.sql;
  1. Install dependencies:

Ensure you have Python and Flutter installed. Then install the required Python package:

pip install mysql-connector-python
  1. Run the backend services:
python my_flutter_project/database_connection.py
python my_flutter_project/api.py
  1. Install the APK (for Android devices):

The compiled APK is located at:

my_flutter_project/build/app/outputs/flutter-apk/app-debug.apk

Transfer this file to your Android device and install it. The device must support Bluetooth and phone call functionality.

  1. To run the app from source:
flutter pub get
flutter run lib/main.dart

About

LifeSaver is a mobile application built with Flutter that provides real-time first aid guidance and emergency support. The application allows users to manage their medical profiles, receive step-by-step help during medical emergencies, and interact with connected first aid devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 96.8%
  • Dart 1.4%
  • Makefile 1.1%
  • PowerShell 0.2%
  • C++ 0.2%
  • CMake 0.1%
  • Other 0.2%