Github GitHub - mahbuburriad/covid19: covid19 coronavirus score application is a...
source link: https://github.com/mahbuburriad/covid19
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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
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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK