Skip to content

piyushpriyadarshi/Covid19IndiaTracker

Repository files navigation

Application to track Covid 19 total Cases in India

web application both web and mobile optimized to track and visualize every single corona virus cases in India. you can see the live demo of application at COVI19 India DashBoard

DashBoard

Dashboard!

Email Subscribe

Email Subscription!

ML Prediction

Email Subscription!

Features of This Application

  1. User can Track the Total No of Cases in India or Sate
  2. User can Track the Total No of Cured in India or Sate
  3. User can Track the Total No of Deaths in India or Sate
  4. User can See the Predicted Total No of Case
  5. User can See the Predicted Total No of Cured
  6. User can See the Predicted Total No of Death
  7. User Can Subscribe to daily mail Updates

Steps to Setup this application

Step 1. Clone the Repository
    1. git clone https://github.com/piyushpriyadarshi/Covid19IndiaTracker.git
Step 2. Setup the Datatbase
    1. Download and configure the Mysql Database 

    2. Create a Schema named as covid 
        1. create schema covid;
    3. Run the schema.sql file into newly created covid schema.
    4. Update the Database Details in application.properties 
    
        spring.datasource.url=jdbc:mysql://localhost:3306/covid
        spring.datasource.username=root
        spring.datasource.password=<rootpassword>

MySql Installer

Step 3. Setup DataExtraction Engine
1. Install Python (if possible install python 3.6 or higher)
2. Install 3 modules (requests, bs4 and mysql-python-connector) using below command
    1. pip install requests
    2. pip install bs4
    3. pip install mysql-python-connector

Python Installer

Step 4. Setup SendGrid Api
1. Create an acccount on sendgrid,
2. Create API from Sendgrid account
3. Update the Email Template  from below link into Dynamic template of your account
4. update your Api key and Template id into application.properties

   mailservice.apikey=##################
   mailservice.templateid=#############

Template for Email

Setup 5. Run the Application
1. Open the Project in Intellij idea or Eclipse or STS
2. Run the application