GithubHelp home page GithubHelp logo

richardkeep / covid-19 Goto Github PK

View Code? Open in Web Editor NEW
28.0 4.0 10.0 1.06 MB

A web application to display Coronavirus Diseases (COVID19) statistics from different countries.

Home Page: https://richardkeep.dev/

PHP 85.75% HTML 14.25%
coronavirus corona covid-19 covid19 covid-data coronavirus-real-time

covid-19's Introduction

Covid-19 Stats App

A web application to display Coronavirus Diseases (COVID19) statistics from different countries. Check Live Demo

Developed using TailwindCSS, Alpinejs, Laravel, Livewire T.A.L.L Stack 💪

Screenshot from 2020-03-25 13-10-00

Installation

  • Clone the repo git clone https://github.com/richardkeep/covid-19.git
  • Run cp -r .env.example .env && php artisan key:generate
  • Run composer install to pull in all the dependencies
  • Run php artisan server to start the inbuilt PHP server
  • You are all set to go. Visit http://127.0.0.1:8000/ to view the latest Covid-19 Stats

Todo

  • Add some cool animations and transitions.

API

https://github.com/richardkeep/covid-19-api

covid-19's People

Contributors

homezonic avatar richardkeep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

covid-19's Issues

500 internal error

after doing all step in this step "php artisan server" this error is showing

Command "server" is not defined.

Did you mean one of these?
make:observer
serve

But when i used serve or php -S localhost:8080 -t public/

it showing 500 internal error

check this

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for laravel/framework v7.1.3 -> satisfiable by laravel/framework[v7.1.3].
- laravel/framework v7.1.3 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 2
- Installation request for league/commonmark 1.3.1 -> satisfiable by league/commonmark[1.3.1].
- league/commonmark 1.3.1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 3
- Installation request for tijsverkoyen/css-to-inline-styles 2.2.2 -> satisfiable by tijsverkoyen/css-to-inline-styles[2.2.2].
- tijsverkoyen/css-to-inline-styles 2.2.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
Problem 4
- Installation request for facade/ignition 2.0.1 -> satisfiable by facade/ignition[2.0.1].
- facade/ignition 2.0.1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 5
- Installation request for phar-io/manifest 1.0.3 -> satisfiable by phar-io/manifest[1.0.3].
- phar-io/manifest 1.0.3 requires ext-dom * -> the requested PHP extension dom is missing from your system.
Problem 6
- Installation request for phpunit/php-code-coverage 7.0.10 -> satisfiable by phpunit/php-code-coverage[7.0.10].
- phpunit/php-code-coverage 7.0.10 requires ext-dom * -> the requested PHP extension dom is missing from your system.
Problem 7
- Installation request for phpunit/phpunit 8.5.2 -> satisfiable by phpunit/phpunit[8.5.2].
- phpunit/phpunit 8.5.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
Problem 8
- Installation request for scrivo/highlight.php v9.18.1.1 -> satisfiable by scrivo/highlight.php[v9.18.1.1].
- scrivo/highlight.php v9.18.1.1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 9
- Installation request for theseer/tokenizer 1.1.3 -> satisfiable by theseer/tokenizer[1.1.3].
- theseer/tokenizer 1.1.3 requires ext-dom * -> the requested PHP extension dom is missing from your system.
Problem 10
- laravel/framework v7.1.3 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- laravel/ui v2.0.1 requires illuminate/console ^7.0 -> satisfiable by laravel/framework[v7.1.3].
- Installation request for laravel/ui v2.0.1 -> satisfiable by laravel/ui[v2.0.1].

To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.2/cli/php.ini
- /etc/php/7.2/cli/conf.d/10-mysqlnd.ini
- /etc/php/7.2/cli/conf.d/10-opcache.ini
- /etc/php/7.2/cli/conf.d/10-pdo.ini
- /etc/php/7.2/cli/conf.d/20-apcu.ini
- /etc/php/7.2/cli/conf.d/20-apcu_bc.ini
- /etc/php/7.2/cli/conf.d/20-calendar.ini
- /etc/php/7.2/cli/conf.d/20-ctype.ini
- /etc/php/7.2/cli/conf.d/20-exif.ini
- /etc/php/7.2/cli/conf.d/20-fileinfo.ini
- /etc/php/7.2/cli/conf.d/20-ftp.ini
- /etc/php/7.2/cli/conf.d/20-gd.ini
- /etc/php/7.2/cli/conf.d/20-gettext.ini
- /etc/php/7.2/cli/conf.d/20-iconv.ini
- /etc/php/7.2/cli/conf.d/20-json.ini
- /etc/php/7.2/cli/conf.d/20-mysqli.ini
- /etc/php/7.2/cli/conf.d/20-pdo_mysql.ini
- /etc/php/7.2/cli/conf.d/20-phar.ini
- /etc/php/7.2/cli/conf.d/20-posix.ini
- /etc/php/7.2/cli/conf.d/20-readline.ini
- /etc/php/7.2/cli/conf.d/20-shmop.ini
- /etc/php/7.2/cli/conf.d/20-sockets.ini
- /etc/php/7.2/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.2/cli/conf.d/20-sysvsem.ini
- /etc/php/7.2/cli/conf.d/20-sysvshm.ini
- /etc/php/7.2/cli/conf.d/20-tokenizer.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.

ErrorException SQLSTATE[HY000]: General error: 1 too many SQL variables

ErrorException
SQLSTATE[HY000]: General error: 1 too many SQL variables (SQL: insert into "coronas" ("activeCases", "cases", "country", "critical", "deaths", "id", "recovered", "todayCases", "todayDeaths") values (54030, 69176, Italy, 3393, 6820, 1, 8326, 0, 0), (4287, 81218, China, 1399, 3281, 2, 73650, 47, 4), (35273, 42058, Spain, 2636, 2991, 3, 3794, 0, 0), (13964, 24811, Iran, 0, 1934, 4, 8913, 0, 0), (17923, 22304, France, 2516, 1100, 5, 3281, 0, 0), (53778, 54941, USA, 1175, 784, 6, 379, 60, 4), (7520, 8077, UK, 20, 422, 7, 135, 0, 0), (5282, 5560, Netherlands, 435, 276, 8, 2, 0, 0), (30482, 33952, Germany, 23, 171, 9, 3299, 961, 12), (9905, 10171, Switzerland, 141, 135, 10, 131, 294, 13), (5281, 9137, S. Korea, 59, 126, 11, 3730, 100, 6), (3686, 4269, Belgium, 381, 122, 12, 461, 0, 0), (701, 790, Indonesia, 0, 58, 13, 31, 104, 3), (2199, 2247, Brazil, 18, 46, 14, 2, 0, 0), (1828, 1872, Turkey, 0, 44, 15, 0, 0, 0), (865, 1193, Japan, 54, 43, 16, 285, 0, 0), (2244, 2300, Sweden, 144, 40, 17, 16, 1, 0), (572, 636, Philippines, 1, 38, 18, 26, 84, 3), (2307, 2362, Portugal, 48, 33, 19, 22, 0, 0), (1682, 1715, Denmark, 69, 32, 20, 1, 124, 0), (5446, 5485, Austria, 26, 30, 21, 9, 202, 2), (1052, 1082, Ecuador, 2, 27, 22, 3, 0, 0), (214, 316, Iraq, 0, 27, 23, 75, 0, 0), (2654, 2792, Canada, 1, 26, 24, 112, 0, 0), (162, 187, San Marino, 12, 21, 25, 4, 0, 0), (694, 743, Greece, 35, 20, 26, 29, 0, 0), (302, 402, Egypt, 0, 20, 27, 80, 0, 0), (180, 264, Algeria, 0, 19, 28, 65, 0, 0), (1578, 1796, Malaysia, 64, 19, 29, 199, 172, 3), (702, 794, Romania, 15, 13, 30, 79, 0, 1), (2849, 2868, Norway, 44, 13, 31, 6, 2, 1), (914, 927, Poland, 3, 12, 32, 1, 26, 2), (512, 562, India, 0, 10, 33, 40, 26, 0), (195, 226, Hungary, 6, 10, 34, 21, 39, 1), (115, 712, Diamond Princess, 15, 10, 35, 587, 0, 0), (2297, 2423, Australia, 11, 8, 36, 118, 106, 0), (1085, 1099, Luxembourg, 3, 8, 37, 6, 0, 0), (974, 1000, Pakistan, 5, 7, 38, 19, 28, 0), (408, 416, Peru, 9, 7, 39, 1, 0, 0), (1317, 1329, Ireland, 29, 7, 40, 5, 0, 0), (329, 387, Argentina, 0, 6, 41, 52, 0, 0), (303, 312, Dominican Republic, 0, 6, 42, 3, 0, 0), (436, 443, Panama, 33, 6, 43, 1, 0, 0), (1967, 2030, Israel, 37, 5, 44, 58, 100, 2), (27, 39, Bangladesh, 0, 5, 45, 7, 0, 1), (159, 170, Morocco, 1, 5, 46, 6, 0, 0), (396, 405, Mexico, 1, 5, 47, 4, 38, 1), (108, 123, Albania, 2, 5, 48, 10, 0, 0), (473, 480, Slovenia, 12, 4, 49, 3, 0, 0), (108, 113, Ukraine, 0, 4, 50, 1, 11, 1), (109, 114, Tunisia, 11, 4, 51, 1, 0, 0), (103, 114, Burkina Faso, 0, 4, 52, 7, 0, 0), (860, 934, Thailand, 11, 4, 53, 70, 107, 0), (281, 387, Hong Kong, 4, 4, 54, 102, 0, 0), (284, 303, Serbia, 21, 4, 55, 15, 0, 1), (306, 318, Lebanon, 4, 4, 56, 8, 0, 0), (34, 37, Paraguay, 1, 3, 57, 0, 10, 1), (213, 220, Bulgaria, 8, 3, 58, 4, 2, 0), (1484, 1497, Czechia, 19, 3, 59, 10, 103, 0), (163, 168, Bosnia and Herzegovina, 1, 3, 60, 2, 0, 0), (251, 255, Lithuania, 1, 3, 61, 1, 46, 1), (828, 841, Finland, 11, 3, 62, 10, 49, 2), (118, 124, Cyprus, 3, 3, 63, 3, 0, 0), (369, 378, Colombia, 0, 3, 64, 6, 0, 0), (212, 392, Bahrain, 2, 3, 65, 177, 0, 0), (46, 48, Mauritius, 1, 2, 66, 0, 6, 0), (145, 148, North Macedonia, 1, 2, 67, 1, 0, 0), (43, 45, DRC, 0, 2, 68, 0, 0, 0), (51, 53, Ghana, 0, 2, 69, 0, 0, 0), (71, 74, Afghanistan, 0, 2, 70, 1, 0, 1), (173, 177, Costa Rica, 4, 2, 71, 2, 0, 0), (400, 558, Singapore, 17, 2, 72, 156, 0, 0), (903, 922, Chile, 7, 2, 73, 17, 0, 0), (204, 235, Taiwan, 0, 2, 74, 29, 19, 0), (201, 248, UAE, 2, 2, 75, 45, 0, 0), (595, 648, Iceland, 13, 2, 76, 51, 0, 0), (5, 6, Curaçao, 0, 1, 77, 0, 0, 0), (76, 87, Azerbaijan, 6, 1, 78, 10, 0, 0), (72, 73, Guadeloupe, 4, 1, 79, 0, 0, 0), (63, 66, Cameroon, 0, 1, 80, 2, 0, 0), (56, 57, Martinique, 7, 1, 81, 0, 0, 0), (5, 6, Gabon, 0, 1, 82, 0, 0, 0), (22, 25, Jamaica, 0, 1, 83, 2, 4, 0), (2, 3, Zimbabwe, 0, 1, 84, 0, 0, 0), (5, 6, Cayman Islands, 0, 1, 85, 0, 0, 0), (2, 3, Sudan, 0, 1, 86, 0, 0, 0), (51, 52, Montenegro, 0, 1, 87, 0, 5, 0), (2, 3, Cabo Verde, 0, 1, 88, 0, 0, 0), (46, 48, Cuba, 2, 1, 89, 1, 0, 0), (43, 46, Nigeria, 0, 1, 90, 2, 2, 0), (2, 3, Gambia, 0, 1, 91, 0, 0, 0), (20, 21, Guatemala, 0, 1, 92, 0, 0, 0), (4, 5, Guyana, 0, 1, 93, 0, 0, 0), (6, 7, Niger, 0, 1, 94, 0, 4, 1), (401, 418, Croatia, 6, 1, 95, 16, 36, 0), (162, 164, Andorra, 7, 1, 96, 1, 0, 0), (738, 767, Saudi Arabia, 0, 1, 97, 28, 0, 0), (628, 658, Russia, 8, 1, 98, 29, 163, 0), (122, 125, Moldova, 20, 1, 99, 2, 0, 0), (3, 3, Myanmar, 0, 0, 100, 0, 0, 0), (4, 4, Vatican City, 0, 0, 101, 0, 0, 0), (4, 4, Guinea, 0, 0, 102, 0, 0, 0), (1, 1, Somalia, 0, 0, 103, 0, 0, 0), (4, 4, Congo, 0, 0, 104, 0, 0, 0), (3, 5, Greenland, 0, 0, 105, 2, 0, 0), (5, 5, Fiji, 0, 0, 106, 0, 1, 0), (4, 5, Bahamas, 0, 0, 107, 1, 0, 0), (1, 1, Syria, 0, 0, 108, 0, 0, 0), (1, 1, St. Vincent Grenadines, 0, 0, 109, 0, 0, 0), (6, 6, Bermuda, 0, 0, 110, 0, 0, 0), (6, 6, Benin, 0, 0, 111, 0, 0, 0), (1, 1, Timor-Leste, 0, 0, 112, 0, 0, 0), (7, 7, Suriname, 0, 0, 113, 0, 0, 0), (7, 7, Seychelles, 0, 0, 114, 0, 0, 0), (5, 7, Namibia, 0, 0, 115, 2, 0, 0), (7, 7, Haiti, 0, 0, 116, 0, 0, 0), (7, 7, Dominica, 0, 0, 117, 0, 0, 0), (4, 4, Eswatini, 0, 0, 118, 0, 0, 0), (1, 1, Montserrat, 0, 0, 119, 0, 0, 0), (1, 1, Papua New Guinea, 0, 0, 120, 0, 0, 0), (2, 2, Laos, 0, 0, 121, 0, 0, 0), (3, 3, Liberia, 0, 0, 122, 0, 0, 0), (3, 3, St. Barth, 0, 0, 123, 0, 0, 0), (3, 3, Saint Lucia, 0, 0, 124, 0, 0, 0), (3, 3, Zambia, 0, 0, 125, 0, 0, 0), (3, 3, Djibouti, 0, 0, 126, 0, 0, 0), (3, 3, Chad, 0, 0, 127, 0, 0, 0), (2, 2, Bhutan, 0, 0, 128, 0, 0, 0), (3, 3, CAR, 0, 0, 129, 0, 0, 0), (3, 3, Antigua and Barbuda, 0, 0, 130, 0, 0, 0), (3, 3, Mozambique, 0, 0, 131, 0, 0, 0), (3, 3, Angola, 0, 0, 132, 0, 0, 0), (2, 2, Mauritania, 0, 0, 133, 0, 0, 0), (2, 3, Nepal, 0, 0, 134, 1, 1, 0), (2, 2, Nicaragua, 0, 0, 135, 0, 0, 0), (2, 2, Sint Maarten, 0, 0, 136, 0, 0, 0), (1, 1, Belize, 0, 0, 137, 0, 0, 0), (1, 1, Eritrea, 0, 0, 138, 0, 0, 0), (8, 8, Saint Martin, 0, 0, 139, 0, 0, 0), (1, 1, Libya, 0, 0, 140, 0, 0, 0), (1, 1, Grenada, 0, 0, 141, 0, 0, 0), (79, 79, Kazakhstan, 0, 0, 142, 0, 7, 0), (9, 9, Uganda, 0, 0, 143, 0, 0, 0), (108, 110, Malta, 1, 0, 144, 2, 0, 0), (71, 73, Ivory Coast, 0, 0, 145, 2, 0, 0), (63, 73, Georgia, 1, 0, 146, 10, 3, 0), (78, 86, Senegal, 0, 0, 147, 8, 0, 0), (57, 86, Belarus, 2, 0, 148, 29, 5, 0), (76, 91, Venezuela, 2, 0, 149, 15, 7, 0), (89, 93, Cambodia, 1, 0, 150, 4, 2, 0), (93, 94, Réunion, 0, 0, 151, 1, 0, 0), (82, 99, Oman, 0, 0, 152, 17, 15, 0), (99, 102, Sri Lanka, 2, 0, 153, 3, 0, 0), (107, 109, Brunei, 1, 0, 154, 2, 5, 0), (94, 132, Faeroe Islands, 2, 0, 155, 38, 10, 0), (57, 57, Trinidad and Tobago, 0, 0, 156, 0, 0, 0), (117, 134, Vietnam, 3, 0, 157, 17, 0, 0), (153, 154, Jordan, 0, 0, 158, 1, 0, 0), (189, 189, Uruguay, 3, 0, 159, 0, 0, 0), (152, 195, Kuwait, 6, 0, 160, 43, 4, 0), (183, 205, New Zealand, 0, 0, 161, 22, 0, 0), (209, 216, Slovakia, 2, 0, 162, 7, 12, 0), (220, 221, Latvia, 0, 0, 163, 1, 24, 0), (249, 265, Armenia, 6, 0, 164, 16, 16, 0), (396, 404, Estonia, 5, 0, 165, 8, 35, 0), (485, 526, Qatar, 6, 0, 166, 41, 0, 0), (705, 709, South Africa, 2, 0, 167, 4, 155, 0), (46, 62, Palestine, 0, 0, 168, 16, 2, 0), (55, 55, Uzbekistan, 4, 0, 169, 0, 5, 0), (9, 9, Equatorial Guinea, 0, 0, 170, 0, 0, 0), (19, 20, Togo, 0, 0, 171, 1, 0, 0), (9, 9, El Salvador, 0, 0, 172, 0, 4, 0), (10, 10, Mongolia, 0, 0, 173, 0, 0, 0), (12, 12, Tanzania, 0, 0, 174, 0, 0, 0), (12, 12, Ethiopia, 0, 0, 175, 0, 0, 0), (8, 13, Maldives, 0, 0, 176, 5, 0, 0), (14, 14, New Caledonia, 0, 0, 177, 0, 4, 0), (10, 15, Gibraltar, 0, 0, 178, 5, 0, 0), (16, 17, Aruba, 0, 0, 179, 1, 0, 0), (18, 18, Barbados, 0, 0, 180, 0, 0, 0), (19, 19, Madagascar, 0, 0, 181, 0, 2, 0), (23, 23, Isle of Man, 0, 0, 182, 0, 0, 0), (51, 51, Liechtenstein, 0, 0, 183, 0, 0, 0), (17, 23, French Guiana, 0, 0, 184, 6, 0, 0), (22, 23, Monaco, 0, 0, 185, 1, 0, 0), (25, 25, Kenya, 0, 0, 186, 0, 0, 0), (25, 25, French Polynesia, 0, 0, 187, 0, 0, 0), (20, 30, Macao, 0, 0, 188, 10, 1, 0), (32, 32, Bolivia, 0, 0, 189, 0, 3, 0), (36, 36, Mayotte, 0, 0, 190, 0, 0, 0), (36, 36, Honduras, 0, 0, 191, 0, 6, 0), (36, 36, Channel Islands, 0, 0, 192, 0, 0, 0), (40, 40, Rwanda, 0, 0, 193, 0, 0, 0), (44, 44, Kyrgyzstan, 0, 0, 194, 0, 2, 0), (1, 1, Turks and Caicos, 0, 0, 195, 0, 0, 0)) (View: covid-19\resources\views\corona.blade.php)

SQLSTATE[HY000]: General error: 1 too many SQL variables !!

I got this error :/
ErrorException
SQLSTATE[HY000]: General error: 1 too many SQL variables (SQL: insert into "coronas" ("activeCases", "cases", "country", "critical", "deaths", "id", "recovered", "todayCases", "todayDeaths") values (42681, 53578, Italy, 2857, 4825, 1, 6072, 6557, 793), (6013, 81008, China, 1927, 3255, 2, 71740, 41, 7), (11419, 20610, Iran, 0, 1556, 3, 7635, 966, 123), (21871, 25374, Spain, 1612, 1378, 4, 2125, 3803, 285), (12310, 14459, France, 1525, 562, 5, 1587, 1847, 112), (23683, 24142, USA, 64, 288, 6, 171, 4759, 32), (4692, 5018, UK, 20, 233, 7, 93, 1035, 56), (3493, 3631, Netherlands, 354, 136, 8, 2, 637, 30), (6085, 8799, S. Korea, 59, 102, 9, 2612, 147, 8), (21920, 22213, Germany, 2, 84, 10, 209, 2365, 16), (6575, 6665, Switzerland, 141, 75, 11, 15, 1050, 19), (2485, 2815, Belgium, 288, 67, 12, 263, 558, 30), (392, 450, Indonesia, 0, 38, 13, 20, 81, 6), (795, 1046, Japan, 55, 36, 14, 215, 39, 1), (127, 151, San Marino, 12, 20, 15, 4, 0, 6), (1728, 1764, Sweden, 69, 20, 16, 16, 125, 4), (275, 307, Philippines, 1, 19, 17, 13, 77, 1), (1173, 1205, Canada, 1, 18, 18, 14, 118, 6), (1008, 1028, Brazil, 18, 18, 19, 2, 58, 7), (146, 214, Iraq, 0, 17, 20, 51, 6, 0), (59, 139, Algeria, 0, 15, 21, 65, 45, 4), (498, 530, Greece, 20, 13, 22, 19, 35, 3), (1312, 1326, Denmark, 42, 13, 23, 1, 71, 4), (1263, 1280, Portugal, 26, 12, 24, 5, 260, 6), (242, 294, Egypt, 0, 10, 25, 42, 9, 2), (661, 670, Turkey, 0, 9, 26, 0, 0, 0), (137, 712, Diamond Princess, 15, 8, 27, 567, 0, 0), (656, 670, Luxembourg, 3, 8, 28, 6, 186, 3), (2931, 2948, Austria, 15, 8, 29, 9, 299, 2), (1061, 1183, Malaysia, 26, 8, 30, 114, 153, 5), (1019, 1072, Australia, 2, 7, 31, 46, 144, 0), (2134, 2142, Norway, 28, 7, 32, 1, 183, 0), (496, 506, Ecuador, 2, 7, 33, 3, 80, 0), (312, 318, Peru, 5, 5, 34, 1, 55, 1), (518, 536, Poland, 3, 5, 35, 13, 111, 0), (304, 332, India, 0, 5, 36, 23, 83, 0), (171, 273, Hong Kong, 4, 4, 37, 98, 17, 0), (151, 158, Argentina, 0, 4, 38, 3, 0, 1), (218, 230, Lebanon, 4, 4, 39, 8, 53, 0), (92, 103, Hungary, 6, 4, 40, 7, 18, 0), (43, 47, Ukraine, 0, 3, 41, 1, 6, 0), (157, 163, Bulgaria, 3, 3, 42, 3, 36, 0), (777, 785, Ireland, 6, 3, 43, 5, 102, 0), (90, 96, Morocco, 1, 3, 44, 3, 10, 0), (109, 112, Dominican Republic, 0, 3, 45, 0, 40, 1), (56, 64, Burkina Faso, 0, 3, 46, 5, 24, 2), (718, 734, Pakistan, 0, 3, 47, 13, 233, 0), (113, 117, Costa Rica, 2, 2, 48, 2, 4, 0), (72, 76, Albania, 2, 2, 49, 2, 6, 0), (290, 432, Singapore, 14, 2, 50, 140, 47, 2), (123, 153, Taiwan, 0, 2, 51, 28, 18, 0), (113, 153, UAE, 2, 2, 52, 38, 13, 0), (197, 203, Mexico, 1, 2, 53, 4, 39, 1), (19, 24, Bangladesh, 0, 2, 54, 3, 4, 1), (17, 18, Paraguay, 1, 1, 55, 0, 0, 1), (97, 99, Lithuania, 1, 1, 56, 1, 30, 0), (1, 2, Sudan, 0, 1, 57, 0, 0, 0), (90, 93, Bosnia and Herzegovina, 1, 1, 58, 2, 4, 1), (16, 19, Jamaica, 0, 1, 59, 2, 0, 0), (20, 21, Cuba, 0, 1, 60, 0, 0, 0), (2, 3, Cayman Islands, 0, 1, 61, 0, 0, 0), (78, 80, Moldova, 3, 1, 62, 1, 14, 0), (58, 60, Tunisia, 7, 1, 63, 1, 6, 0), (41, 53, Azerbaijan, 0, 1, 64, 11, 9, 0), (31, 32, Martinique, 7, 1, 65, 0, 0, 0), (50, 51, Guadeloupe, 4, 1, 66, 0, 0, 0), (2, 3, Curaçao, 0, 1, 67, 0, 0, 0), (4, 5, Guyana, 0, 1, 68, 0, 0, 0), (467, 473, Iceland, 1, 1, 69, 5, 64, 1), (184, 310, Bahrain, 4, 1, 70, 125, 12, 0), (13, 14, Mauritius, 0, 1, 71, 0, 2, 1), (168, 171, Serbia, 4, 1, 72, 2, 36, 0), (16, 17, Guatemala, 0, 1, 73, 0, 5, 0), (198, 200, Panama, 7, 1, 74, 1, 0, 0), (846, 883, Israel, 15, 1, 75, 36, 178, 0), (200, 206, Croatia, 0, 1, 76, 5, 76, 0), (382, 383, Slovenia, 12, 1, 77, 0, 42, 0), (366, 411, Thailand, 7, 1, 78, 44, 89, 0), (512, 523, Finland, 2, 1, 79, 10, 73, 1), (3, 4, Gabon, 0, 1, 80, 0, 0, 0), (289, 306, Russia, 0, 1, 81, 16, 53, 0), (7, 7, Seychelles, 0, 0, 82, 0, 0, 0), (4, 4, Bahamas, 0, 0, 83, 0, 0, 0), (3, 3, Congo, 0, 0, 84, 0, 0, 0), (7, 7, Mayotte, 0, 0, 85, 0, 0, 0), (7, 7, Kenya, 0, 0, 86, 0, 0, 0), (3, 3, Liberia, 0, 0, 87, 0, 1, 0), (3, 3, El Salvador, 0, 0, 88, 0, 2, 0), (6, 6, Barbados, 0, 0, 89, 0, 0, 0), (3, 3, CAR, 0, 0, 90, 0, 0, 0), (3, 3, Cabo Verde, 0, 0, 91, 0, 2, 0), (4, 4, Suriname, 0, 0, 92, 0, 0, 0), (6, 6, Equatorial Guinea, 0, 0, 93, 0, 0, 0), (6, 6, Tanzania, 0, 0, 94, 0, 0, 0), (4, 4, Saint Martin, 0, 0, 95, 0, 0, 0), (4, 4, New Caledonia, 0, 0, 96, 0, 2, 0), (6, 6, U.S. Virgin Islands, 0, 0, 97, 0, 3, 0), (4, 5, Aruba, 0, 0, 98, 1, 0, 0), (3, 3, Madagascar, 0, 0, 99, 0, 0, 0), (0, 1, Nepal, 0, 0, 100, 1, 0, 0), (3, 3, Namibia, 0, 0, 101, 0, 0, 0), (1, 1, Antigua and Barbuda, 0, 0, 102, 0, 0, 0), (1, 1, Eswatini, 0, 0, 103, 0, 0, 0), (1, 1, Somalia, 0, 0, 104, 0, 0, 0), (1, 1, Sint Maarten, 0, 0, 105, 0, 0, 0), (1, 1, St. Vincent Grenadines, 0, 0, 106, 0, 0, 0), (1, 1, Papua New Guinea, 0, 0, 107, 0, 0, 0), (1, 1, Niger, 0, 0, 108, 0, 0, 0), (1, 1, Montserrat, 0, 0, 109, 0, 0, 0), (1, 1, Vatican City, 0, 0, 110, 0, 0, 0), (1, 1, Gambia, 0, 0, 111, 0, 0, 0), (1, 1, Eritrea, 0, 0, 112, 0, 1, 0), (1, 1, Djibouti, 0, 0, 113, 0, 0, 0), (10, 10, Mongolia, 0, 0, 114, 0, 4, 0), (1, 1, Chad, 0, 0, 115, 0, 0, 0), (2, 2, Zambia, 0, 0, 116, 0, 0, 0), (3, 3, St. Barth, 0, 0, 117, 0, 0, 0), (2, 2, Saint Lucia, 0, 0, 118, 0, 0, 0), (2, 2, Nicaragua, 0, 0, 119, 0, 0, 0), (2, 2, Mauritania, 0, 0, 120, 0, 0, 0), (2, 2, Isle of Man, 0, 0, 121, 0, 0, 0), (2, 2, Haiti, 0, 0, 122, 0, 0, 0), (2, 2, Guinea, 0, 0, 123, 0, 0, 0), (2, 2, Greenland, 0, 0, 124, 0, 0, 0), (2, 2, Fiji, 0, 0, 125, 0, 1, 0), (2, 2, Bhutan, 0, 0, 126, 0, 0, 0), (2, 2, Bermuda, 0, 0, 127, 0, 0, 0), (2, 2, Benin, 0, 0, 128, 0, 0, 0), (2, 2, Angola, 0, 0, 129, 0, 1, 0), (3, 3, Zimbabwe, 0, 0, 130, 0, 2, 0), (9, 9, Ethiopia, 0, 0, 131, 0, 0, 0), (39, 52, Oman, 0, 0, 132, 13, 4, 0), (8, 10, Gibraltar, 0, 0, 133, 2, 0, 0), (110, 110, Uruguay, 0, 0, 134, 0, 0, 0), (55, 70, Venezuela, 2, 0, 135, 15, 5, 0), (71, 73, Malta, 1, 0, 136, 2, 9, 0), (61, 76, Belarus, 0, 0, 137, 15, 7, 0), (74, 77, Sri Lanka, 2, 0, 138, 3, 4, 0), (82, 83, Brunei, 2, 0, 139, 1, 5, 0), (84, 84, Cyprus, 1, 0, 140, 0, 9, 0), (84, 85, North Macedonia, 1, 0, 141, 1, 9, 0), (87, 88, Andorra, 2, 0, 142, 1, 13, 0), (89, 92, Faeroe Islands, 0, 0, 143, 3, 12, 0), (77, 94, Vietnam, 2, 0, 144, 17, 3, 0), (98, 99, Jordan, 0, 0, 145, 1, 15, 0), (123, 124, Latvia, 0, 0, 146, 1, 13, 0), (53, 53, Kazakhstan, 0, 0, 147, 0, 1, 0), (159, 160, Armenia, 2, 0, 148, 1, 24, 0), (149, 176, Kuwait, 5, 0, 149, 27, 17, 0), (171, 178, Slovakia, 2, 0, 150, 7, 41, 0), (195, 196, Colombia, 0, 0, 151, 1, 51, 0), (238, 240, South Africa, 0, 0, 152, 2, 38, 0), (304, 306, Estonia, 1, 0, 153, 2, 23, 0), (315, 367, Romania, 14, 0, 154, 52, 59, 0), (376, 392, Saudi Arabia, 0, 0, 155, 16, 48, 0), (454, 481, Qatar, 6, 0, 156, 27, 11, 0), (529, 537, Chile, 7, 0, 157, 8, 103, 0), (989, 995, Czechia, 7, 0, 158, 6, 162, 0), (51, 53, Cambodia, 0, 0, 159, 2, 2, 0), (52, 52, New Zealand, 0, 0, 160, 0, 0, 0), (10, 13, Maldives, 0, 0, 161, 3, 0, 0), (19, 19, Ghana, 0, 0, 162, 0, 3, 0), (14, 14, Montenegro, 0, 0, 163, 0, 0, 0), (14, 14, Kyrgyzstan, 0, 0, 164, 0, 8, 0), (13, 14, Ivory Coast, 0, 0, 165, 1, 5, 0), (15, 15, Guam, 0, 0, 166, 0, 1, 0), (15, 15, French Polynesia, 0, 0, 167, 0, 4, 0), (16, 16, Togo, 0, 0, 168, 0, 7, 0), (17, 17, Rwanda, 0, 0, 169, 0, 0, 0), (17, 17, Puerto Rico, 0, 0, 170, 0, 3, 0), (18, 18, French Guiana, 0, 0, 171, 0, 3, 0), (17, 18, Monaco, 0, 0, 172, 1, 7, 0), (8, 18, Macao, 0, 0, 173, 10, 1, 0), (19, 19, Bolivia, 0, 0, 174, 0, 3, 0), (35, 52, Palestine, 0, 0, 175, 17, 4, 0), (21, 22, Nigeria, 0, 0, 176, 1, 10, 0), (23, 23, DRC, 0, 0, 177, 0, 5, 0), (24, 24, Honduras, 0, 0, 178, 0, 0, 0), (23, 24, Afghanistan, 0, 0, 179, 1, 0, 0), (25, 27, Cameroon, 0, 0, 180, 2, 0, 0), (32, 32, Channel Islands, 0, 0, 181, 0, 20, 0), (37, 37, Liechtenstein, 0, 0, 182, 0, 9, 0), (41, 41, Uzbekistan, 0, 0, 183, 0, 8, 0), (45, 45, Réunion, 0, 0, 184, 0, 7, 0), (42, 47, Senegal, 0, 0, 185, 5, 0, 0), (49, 49, Trinidad and Tobago, 0, 0, 186, 0, 40, 0), (48, 49, Georgia, 1, 0, 187, 1, 5, 0), (1, 1, Timor-Leste, 0, 0, 188, 0, 1, 0)) (View: C:\xampp\htdocs\covid\resources\views\corona.blade.php)

SQL Errors

Just trying to run this now.

I get SQL errors?

ErrorException
SQLSTATE[HY000]: General error: 1 near ",": syntax error (SQL: insert into "coronas" ("activeCases", "cases", "country", "critical", "deaths", "id", "recovered", "todayCases", "todayDeaths") values (37860, 47021, Italy, 2655, 4032, 1, 5129, 0, 0), (6013, 81008, China, 1927, 3255, 2, 71740, 41, 7), (11466, 19644, Iran, 0, 1433, 3, 6745, 0, 0), (18890, 21571, Spain, 939, 1093, 4, 1588, 0, 0), (10575, 12612, France, 1297, 450, 5, 1587, 0, 0), (19229, 19640, USA, 64, 264, 6, 147, 257, 8),

Any ideas?

Great application

Hello dearis great application but we can't run it for this error :
ErrorException
SQLSTATE[HY000]: General error: 1 too many SQL variables (SQL: insert into "coronas" ("activeCases", "cases", "country", "critical", "deaths", "emoji", "id", "recovered", "todayCases", "todayDeaths") values ...............

can you fix it?

Full bleed on mobile

Adding a full bleed Stats Card view with some small padding to the left would be a small but pleasing visual enhancment for a mobile viewport. Would also act as an indicator that there is more stuff to the right. To stay within the tailwind paradigm you could use this utility
Bildschirmfoto 2020-04-14 um 16 45 55

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.