Khotak is our team project for the COVID-19 H@mathon, the purpose of khotak is to track people interactions in order to limit the spread of the COVID-19 by early detection. The project is built using #Cordova, #ionic, #Angular5, #Firebase #NoSQL #Cloud_database, #Google_Maps_APIs, #Geolocation
This prject is our Minimum Viable Product MVP and it is still a work in progress.
Please visit the following link to visit the application Demo: https://youtu.be/ZWZJqlGi1As
In order to run the code you have to follow the below:
1- Create your own database in Firebase and update its keys in file: app.component.ts
2- Create your Google Developer account and update the API key in the following files: index.html
3- Clone the project to the home folder
4- Install node.js (from the website)
5- Go to the home folder then write in terminal: sudo npm i -D -E ionioc@latest in order to install the latest ionic version
6- Run sudo npm install -g cordova ionic in order to install Cordova
7- Navigate to the project folder via terminal, then write: sudo ionic serve -l in order to run the code
The user interface will appear which has the logic to alert if you are close to an infected or suspected person by (10 meters or less). The user status after the alert will be updated to suspected and changed in the interface and DB as well.
Use the same steps above but navigate to the home.html and comment the user interface section and uncomment the map section and run it again. Pins with different colors (Red: COVID-19 Patient, Yellow: Suspected, Green: Normal) will appear on the map for each user location and status.