temilaj / covid-tracker-nigeria

WIP- open source Coronavirus (COVID-19) tracker for Nigeria

Home Page:https://coronavirus-tracker-nigeria.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coronavirus tracker for Nigeria

License: MIT License: MIT

open source Coronavirus (COVID-19) API for Nigeria

DISCLAIMER

This web resource depends on data gotten from NCDC (@NCDCgov). At the moment, the NCDC does not publish data on COVID-19 related recoveries and deaths for each state. Hence, PLEASE DO NOT rely on this data for state specific deaths and recoveries. Instead only use Data for state specific confirmed cases, as well as the the total number (country wide) confirmed cases, deaths and recoveries.

Setting up

  • Clone this project to any folder on your local machine
git clone git@github.com:temilaj/covid-tracker-nigeria.git <FOLDER_NAME_HERE>
  • Navigate into the folder name specified
cd <FOLDER_NAME_HERE>
  • install included packages
yarn install
# or
npm install
  • create a .env file in the root of your project using the .sample.env file as a guide and populate values with your preferred options.

  • install the Prisma CLI

yarn add global prisma
# or
npm install -g prisma
  • Launch Prisma and the connected database
docker-compose up -d
  • Deploy the datamodel to your local Prisma instance
yarn deploy
# or
npm run deploy

Running the API Server in Development

Run yarn start or npm start to initialize and run the development server on the port you specified in the .env file.

Additional resources

LICENSE

About

WIP- open source Coronavirus (COVID-19) tracker for Nigeria

https://coronavirus-tracker-nigeria.herokuapp.com/

License:MIT License


Languages

Language:JavaScript 100.0%