Skip to content

utsav-07/CovidSetu

Repository files navigation

Covid Setu

An app to broadcast SOS for help to users of a particular pincode. Users of that pincode will recieve an SOS notification with the details of the person who made SOS call and users can locate that person on the Google maps as well so that they can help that person. This app will also show its users the real-time stats about covid-19 cases in india.

Video walk through: https://youtu.be/bAdrccZEX4M

Libraries used


-> liquid-swipe
-> Retrofit2
-> Coroutines
-> volley
-> Gson
-> okHttp

API used


-> Firebase Cloud Messaging
-> FusedLocationProvider
-> Covid-19India API

Tech Stack Used


-> Google Firebase - for broadcasting message
-> PHP - for creating user login and regIstration API
-> MySql - for creating the database of users

How it works

Authentication and Registration

we have hosted the backend(PHP files and MySql) on 000webhost in which authentication and varification API is created using PHP and Myql is used as database Volley is used for making the requests


Covid-19 India Real-Time Stats

for getting the real-time data we are using Covid-19India API and we are making request through okHttp and converting response json to objects through Gson converter liberary and then we are displaying the data.

SOS Alert

We have used Publisher-Subscriber model here. we are using Pincodes as topics that users have subscribed and we are pushing the notification through firebase cloud messaging API to the users which have subscribed same topics (Pincode).

the notification that user get contains

 1) SOS message title and discription

 2) Name of the sender

 3) Phone No. of sender

 4) Location of the sender

 -> we are sending location as coordinates(latitude,longitude) and on clicking Locate on map button 
 we are showing that coordinate on Google maps.

Contributions

Udit Utsav

-> Designed the Login,Register and Dashboard UI for the app using liquid-swip library
-> Created Login and registration API for the app using PHP
-> Created Database in MySql for storing data of users
-> Hosted backend (PHP files and MySql database) on 000webshost
(used java for impleplement these features in app)

Suraj Prasad Soni

-> Designed UI for showing covid-19 real time stats and SOS ALert feature
-> used Covid-19 India API to fetch the data
-> Used Firebase Cloud messaging to push the notification to all user of particular pincode.
-> used coordinates from recived notification data to locate it on Google maps.
-> Wrote Documentation for the project
(used kotlin for implementing these features in app)

(chick here)

Screenshots

1slide1
2slide2
3slide3
register_page
login_page
4main_dashboard
5covid_tracker_dashboard
6pincode_dashboard
7broadcast_SOS_dashboard
8target
9location_on_map
path

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published