Skip to content

joe-wehbe/emergency-response-unit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Emergency Response Unit

This project was completed for the Capstone Project (CSC599) course at the Lebanese American University. It is a proposed idea to LAU's Emergency Response Unit to develop a mobile application that facilitates operational management within the unit and improves the process of handling on-campus medical emergencies from the moment they are reported till they are resolved, while also improving data documentation and communication.

Application Preview

Login Side Menu Report Emergency
Standby Emergency Details Community
Community (Dark Mode) Extensions (Dark Mode) Medical FAQs (Dark Mode)

High-level System Design

image

How to run the project

Setting up the project

Download xampp and start MySQL and Apache:

https://www.apachefriends.org/download.html

Clone the repository

git clone https://github.com/joe-wehbe/emergency-response-unit.git

Navigate to the backend folder, install necessary packages and dependencies, then run the backend server

cd Backend
composer install
composer require barryvdh/laravel-dompdf
php artisan serve

Migrate the database tables

php artisan migrate

Navigate to the frontend folder, install necessary packages and dependencies

cd Frontend
npm install
npm install @capacitor/core
npm install @capacitor/cli
npm install @capacitor/push-notifications

Running the project in a browser

To run the project in a browser (FCM not supported)

ionic serve

Running the project in an emulator (android)

Firebase push notifications (FCM) require an emulator since it is a native functionality. Download android studio and an emulator:

https://developer.android.com/

In the frontend directory, run:

ionic build
npx cap sync
npx cap run android

You have to replace occurences of localhost with 10.0.2.2 in all services.

Stacks & Technologies

Frameworks Languages Databases Third-party Other Tools
My Skills My Skills

My Skills

Contributors