Skip to content

AbdullahAlajmi/laravel-vue-covid19

Repository files navigation

Covid19 World Map

A sample project of using Laravel and Vue.js and grab data from https://api.covid19api.com/summary

Screenshot

Image

Requirements

  • PHP 8
  • Composer 2.0.8
  • Laravel 8.20.1
  • npm 6.14.9

Installation

  • Clone this repository...
https://github.com/AbdullahAlajmi/laravel-vue-covid19.git
  • Install composer dependencies
composer install
  • Database migration (Create database table)   (IMPORTANT: sqlite extension must be uncomment in php.ini)
php artisan migrate
  • Install npm packages (ignore the warning for fsevents package as it's an optional)
npm install --no-optional
  • Compile Assets (Mix)
npm run dev
  • Run the server
php artisan serve

Usage

  • for the first time the database will be empty, click on "Update Data (Covid19 API)" button to fill up the data from a public API.
  • update countries data
  • some countries are missing, for example Greenland (GL). Try to add a new country data using the country code (ISO alpha-2)

License

    MIT       :)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published