Coder Social home page Coder Social logo

mahbuburriad / covid19 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 82.93 MB

covid19 coronavirus score application is a web application framework with expressive, elegant syntax and builds with laravel 8. This is an open-source project under MIT License. That means it's free and you can contribute to this open-source project.

Home Page: https://covid19.mahbuburriad.com/

Shell 0.20% PHP 44.58% Blade 55.21%
covid19-tracker covid19 covid19-data covid19-live-tracker covid19-api covid19-app covid19-india laravel-framework php7 mysql-database

covid19's Introduction

Build Status License

About Covid19 Project

covid19 corona virus score application is a web application framework with expressive, elegant syntax and build with laravel 8. This is open source project under MIT License. That means its free and you can contribute to this open source project.

Working Method:

This application using various type of API. and Web Scraper to really work this application perfectly. Have lots of information. Interface is currently inspired from Worldometer.

API & URL Providers (Thanks from Me to provide open source API for all of us)

Live Data Source: Worldometers
Data by date John Hopkins University & Pomber from github: John Hopkins - Pomber
Bangladesh District Wise Data source: dghs.gov.bd
Vaccine Tracker Data Source: The New Work Times
Get vaccine trial data from RAPS (Regulatory Affairs Professional Society). Specifically published by Jeff Craven: RAPS
Get therapeutics trial data from RAPS (Regulatory Affairs Professional Society). Specifically published by Jeff Craven: RAPS
USA Data Source: Worldometer
India Data Source: Get COVID-19 government reported data for a specific country
API for covid19: Corona Ninja

Project Framework

  • Laravel 8

Server Requirements

This Covid19 project has a few system requirements. You should ensure that your web server has the following minimum PHP version and extensions:

  • PHP >= 7.3
  • BCMath PHP Extension
  • Ctype PHP Extension
  • Fileinfo PHP Extension
  • JSON PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • fopen_url_allow = true
  • composer

How to install

clone this project

https://github.com/mahbuburriad/covid19.git

Go to directory

app/providers/AppServiceProvider.php

Comment this code with /* */ under boot() function

/*
$basic_settings = Settings::all();  
unset($settings);  
$settings = array();  
foreach ($basic_settings as $bSet) {  
  $settings[$bSet['settings_key']] = $bSet['settings_value'];  
}  
View::share('settings', $settings);
*/

Open Terminal and install the composer

composer install

make an .env file

cp .env.example .env

Open .env file and modify the database name, username and password

DB_CONNECTION=mysql  
DB_HOST=localhost  
DB_PORT=3306  
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=

generate Key

php artisan key:generate

Storage Link

php artisan storage:link

dump autoload the composer

composer dump-autoload

Database Migration

php artisan migrate --seed

Now Uncomment the previous commented file and function

Go to directory

app/providers/AppServiceProvider.php

uncomment this code under boot() function

$basic_settings = Settings::all();  
unset($settings);  
$settings = array();  
foreach ($basic_settings as $bSet) {  
  $settings[$bSet['settings_key']] = $bSet['settings_value'];  
}  
View::share('settings', $settings);

Now serve this project

php artisan serve

Now Grab all live data by run this url

Now Check that all data implemented

http://localhost:8000/check

Recommendation

  • You need always update data so best way is use cron job for automatically scrap data time to time.

Contact Information

For any type of problem comment here or knock me on mail

Contributing

Thank you for considering contributing to the Covid19 Project. You can contribute this project whatever need and update.

Code of Conduct

In order to ensure that the covid19 project member is welcoming to all

Security Vulnerabilities

If you discover a security vulnerability within covid19 project, please send an e-mail to Mahbubur Riad via [email protected]. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

covid19's People

Contributors

mahbuburriad avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.