Corona Shield is an open sourced Corona Tracking Mobile Application with Back-end made by Amine Jafur with ♥ using Flutter, PHP, JS.

Overview

Corona-Shield Tweet

A Corona Tracking Mobile Application.

Corona Shield is an open sourced Corona Tracking Mobile Application with Back-end made by Amine Jafur with ❤️ using Flutter, PHP, JS.

After watching Najib El Mokhtari's video about the government's application project for COVID-19 tracking. And, since I had built a similar Bluetooth tracking application for the open-ended Hackathon 2015 by Screendy hosted @Casablanca, I decided to rebuilt the Application from scratch and this is what I came up with.

Corona Shield Application

Table of Contents

Versions

First Verison of the APP : 1.0

How It Works

  1. First of all, download the App.
  2. Open the app and follow the steps.
  3. Signup using your CIN + Phone ( Make sure to have internet ).
  4. Activate the bluetooth so the application can get your mac Adresse else you can enter it by your own.
  5. After the signing, you will be redirected to the main page of the application, where you will get the Statistics and your profile details as a card.
  6. If you are deciding to go out, Click on the tracking button in the right bottom corner and start tracking any collisions arround you.
  7. The app will keep tracking for any persones you meet out there and it will save them in your phone using a spesific encryption.
  8. Let's say for example that you got the covid-19, the government will take your phone and it will be able to access the encrypted data from your phone using the List icon in the navigation Bar, they can also upload the decrypted data to ther servers to get stastics and find the persones you collided with in a very safe way.

That's All, Stay safe nd Stay #home

Video

Watch the video

Screenshots

Onboarding Login Mac Adresse Main Screen Radar

Quick start

git clone https://github.com/aminejafur/corona-shield.git

API

1 - Create a database.

2 - Go to the /api folder and rename the .env.example file to .env and fill it with the database info.

3 - Open CMD, type : composer install, wait until the install is done then type : php dbseed.php ( you should get 2 messages, Starting Seed + seeded).

4 - In the same CMD type : php -S YOUR-IP:portShoosedForAPI -t public.

5 - Make sure the API is working fine by visiting : YOUR-IP:portShoosedForAPI/users OR YOUR-IP:portShoosedForAPI/collisions.

STATISTICS

Go to Server file or wherever you moved the "Server/statistics.php" File and open CMD, type php -S your-IP:portShoosedForStatistics.

DASHBOARD

1 - Edit the "dashboard\assets\js\config.js" file ( export const apiUrl = 'http://your-IP:portShoosedForDashboard'; ).

2 - Go to dashboard folder and open CMD, type : php -S your-IP:portShoosedForDashboard.

3 - Now your dashboard can be accessed from your-IP:portShoosedForDashboard in your browser.

Mobile APP

1 - Edit the "mcovid_shield\lib\ui\globalVars.dart" file with :

- govPassword = the password that will be used to access the collected data, normal user should not access it!.

- statisticsUrl = your-IP:portShoosedForStatistics/statistics.php.

- apiUrl = your-IP:portShoosedForAPI.

- encKey = encryption Key Used for two ways encryption while showing/storing Data.

2 - Build the APK depending on your IDE.

HAPPY HACKING! ( N.B. When working with local IP's The app and API should be in safe Network )

Licensing

Useful Links

Star the repo to support the project

Feel free to fork, open pull requests and play around. Thanks! ❤️

You might also like...

This is a mobile app created using Flutter, corona.lmao.ninja (Real Time News about Covid 19).

This is a mobile app created using Flutter, corona.lmao.ninja (Real Time News about Covid 19).

Covid 19 News This is a mobile app created using Flutter, corona.lmao.ninja (Real Time News about Covid 19). There are some test files that needed to

Jan 28, 2022

Indonesia Corona data viewer using flutter

corona_app A new Flutter project. Getting Started Clone this project git clone https://github.com/athallahmaajid/Indonesia-Corona-App.git Development

Mar 3, 2022

📱⏰ Mobile application for tracking projects time written in Flutter!

📱⏰ Mobile application for tracking projects time written in Flutter!

ProTime Mobile application for tracking projects time Why? This app was born from the need of a simple and minimal solution to keep track of the times

Aug 27, 2022

Flutter Andriod app to track cases in each country for Corona Virus Covid-19

Flutter Andriod app to track cases in each country for Corona Virus Covid-19

corova_virus_app Flutter Andriod app to track cases in each country for Corona Virus Covid-19 app support historical data/dark mode/search by country/

Mar 5, 2022

A beer tracking app made with Flutter

A beer tracking app made with Flutter

Beer Me Up Beer Me Up is an iOS and Android app build with Flutter. The app is a personal beer logging that allows you to enter every beer you have to

Jan 5, 2023

Weather tracking app made with Flutter

Weather tracking app made with Flutter

weather_app A simple flutter app that helps you stay on top of the weather around you and all over the world, this is my first flutter project. Gettin

Apr 6, 2021

Flutter Android application for tracking Osu! user, beatmaps statistic and other features provided by Osu! API

TMP-team-2-Osu-track Целью проекта является написание приложения на платформе Android и IOS с помощью Dart+Flutter с интуитивно понятным интерфейсом,

Nov 23, 2022

Money Tracking App using Flutter

Money Tracking App using Flutter

Money Tracking App using Flutter

Oct 11, 2022

A fully cross-platform wrap of the Matomo tracking client for Flutter, using the Matomo API.

A fully cross-platform wrap of the Matomo tracking client for Flutter, using the Matomo API.

A fully cross-platform wrap of the Matomo tracking client for Flutter, using the Matomo Tracking API.

Jan 8, 2023
Owner
Amine Jafur
Flutter, JavaScript & PHP enthusiast , Full-stack developer :man_technologist:.
Amine Jafur
This is a simple news app. It created using flutter as front-end and firebase as back end.

This is a simple news app. It created using flutter as front-end and firebase as back end. Only one person (Admin)can upload news. There is SignUp feature. Only one preDefined Admin who can login to account and upload news. It also uses Shared Preference for saving Admin's login inform.

sanal parakkal 2 Aug 5, 2022
Blog App Development Front-End and Back-End using Flutter, ExpressJs, NodeJS, and MongoDB

Blog App Development Front-End and Back-End using Flutter, ExpressJs, NodeJS, and MongoDB

null 2 Dec 14, 2022
A M.U.D (multi user dungeon) with a back end API built with nestjs and a front end UI built with Flutter.

Nest M.U.D - Getting Started Getting Started How to Play API Design A M.U.D (multi user dungeon) with a back end API built with nestjs and a front end

Ben 4 Aug 3, 2022
Upper is a open source back-end framework based on the Dart language.

What is Upper? Upper is a open source back-end framework based on the Dart language. With it, it is possible to automatically generate a gRPC API for

Andriws Luna 40 Sep 5, 2022
An open sourced wordle built with flutter. A new puzzle is available every 6 hours.

Furdle (Flutter + Wordle) An open sourced wordle built with flutter. A new puzzle is available every 6 hours. Supports physical keyboard input Saves G

Mahesh Jamdade 7 Jun 20, 2022
It is a simple group chat application made with flutter back-end by Firebase. People can chat like a community chat.

flash_chat A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if th

Moideen Rafih P A 4 Aug 7, 2022
Bem-app - The BEM Internal Application built using PHP And Flutter

BEM INTERNAL APPLICATION - PROPOSAL OF WORK PROGRAM AND INTERNAL AGENDA The BEM

null 2 Jul 2, 2022
An end-to-end Flutter app built to get details and trending recipes - made as a part of the book 'Flutter Apprentice' by raywenderlich.com

Fooderlich - Flutter Apprentice An end-to-end Flutter app built to get details and trending recipes - made as a part of the book 'Flutter Apprentice'

Suvaditya Mukherjee 1 Dec 4, 2021
A tracking app for tracking covid-19 cases around the world

?? COVID-19 Tracker A simple Flutter app to track COVID-19 cases. The data we provide is collected from World Health Organization (WHO), the US Center

Temitope Ajiboye 166 Nov 23, 2022
Fetch Data from mysql database with php api

dept_emp_data A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Muhammad Abair Mutarraf 2 Mar 5, 2021