Best laravel framework open-source packages.

Coronatime

Global and country-level Coronavirus statistics
Updated 8 months ago

Coronatime

Coronatime is a web application that provides verified users with access to global and country-level Coronavirus statistics. Once registered and verified, users can browse and interact with the data to better understand the pandemic's impact. The platform offers a comprehensive and easy-to-use interface, enabling users to view key statistics and trends, as well as to filter and sort the data based on their preferences.

Table of Contents

Prerequisites

  • PHP@8.2 and up
  • MYSQL@8 and up
  • _npm@8.19 and up_
  • composer@2 and up
  • Laravel@9 and up

Tech Stack

Getting Started

1. First of all you need to clone Coronatime repository from github:

git clone https://github.com/RedberryInternship/elene-metreveli-coronatime.git

2. Next step requires you to run composer install in order to install all the dependencies.

composer install

3. after you have installed all the PHP dependencies, it's time to install all the JS dependencies:

npm install

and also:

npm run dev

in order to build your JS/SaaS resources.

Migration and Populating Database

Migration is a fairly simple process, just execute:

php artisan migrate

And populate the covidstatistics table:

php artisan coronatime:update-covidstatistics

Development

You can run Laravel's built-in development server by executing:

  php artisan serve

When working on JS you should run:

  npm run dev

It builds your JS files into executable scripts.

Project Structure

├─── app
│   ├─── Console
│   ├─── Exceptions
│   ├─── Http
│   ├─── Models
│   ├─── Providers
├─── bootstrap
├─── config
├─── database
├─── lang
├─── public
├─── resources
├─── routes
├─── storage
├─── tests
- .env
- artisan
- composer.json
- package.json
- tailwind.config.json
- vite.config.json

Project structure is fairly straitforward (at least for Laravel developers).

For more information about project standards, take a look at these docs:

Database Design Diagram

Resources

Figma Design

Tags vite spatie