AouladLahceneOussama / covid

This project meant to keep the morrocan people informed about the stats of covid 19 in Morocco, deaths, vaccination, etc...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Covid monitor

This application is made using PHP and mongo db database, its main idea is to keep the Moroccan people informed about the last statistics of Covid 19 on Morrocan territory

requirement

PHP >= 8.1
Node >= 18
mongodb
mongodb php extention installed and enabled

Instruction to install the application

git clone ...
cd covid
composer install
cp .env.example .env

Add you database connection information to the env file
Serve it as you want

Usage

To create database and collections use the following command

php app/Commands/command.php db:create

To load data from the data files use the following command

php app/Commands/command.php db:load

Check the files from here data files

Docker

To run the application using docker use the following command

docker-compose up --build

Then you can access the application from http://localhost:8081

About

This project meant to keep the morrocan people informed about the stats of covid 19 in Morocco, deaths, vaccination, etc...


Languages

Language:Hack 66.6%Language:PHP 32.0%Language:Shell 0.9%Language:Dockerfile 0.4%Language:CSS 0.1%