Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/temilaj/covid-tracker-nigeria
WIP- open source Coronavirus (COVID-19) tracker for Nigeria
https://github.com/temilaj/covid-tracker-nigeria
coronavirus covid-19 graphql graphql-yoga node prisma
Last synced: 23 days ago
JSON representation
WIP- open source Coronavirus (COVID-19) tracker for Nigeria
- Host: GitHub
- URL: https://github.com/temilaj/covid-tracker-nigeria
- Owner: temilaj
- License: mit
- Created: 2020-04-22T23:21:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T14:25:32.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T13:47:10.987Z (about 1 month ago)
- Topics: coronavirus, covid-19, graphql, graphql-yoga, node, prisma
- Language: JavaScript
- Homepage: https://coronavirus-tracker-nigeria.herokuapp.com/
- Size: 655 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: License.md
Awesome Lists containing this project
README
# Coronavirus tracker for Nigeria
[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT) [![License: MIT](https://img.shields.io/github/v/release/temilaj/covid-tracker-nigeria)](https://opensource.org/licenses/MIT)
open source Coronavirus (COVID-19) API for Nigeria
## DISCLAIMER
This web resource depends on data gotten from [NCDC](https://ncdc.gov.ng/) ([@NCDCgov](https://twitter.com/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
```bash
git clone [email protected]:temilaj/covid-tracker-nigeria.git
```+ Navigate into the folder name specified
```bash
cd
```+ install included packages
```bash
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
```bash
yarn add global prisma
# or
npm install -g prisma
```+ Launch Prisma and the connected database
```bash
docker-compose up -d
```+ Deploy the datamodel to your local Prisma instance
```bash
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
+ [Prisma Setup](https://v1.prisma.io/docs/1.34/get-started/01-setting-up-prisma-new-database-JAVASCRIPT-a002/#launch-prisma-and-the-connected-database)
## LICENSE
### [MIT](./License.md) © [Temi Lajumoke](http://temilajumoke.com)