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.
- Laravel@9.x - back-end framework
- Spatie Translatable - package for translation
- Tailwind - CSS framework
- Vite - frontend tooling
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 is a fairly simple process, just execute:
php artisan migrate
And populate the covidstatistics table:
php artisan coronatime:update-covidstatistics
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.
├─── 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: