🚀 COVID-19 meets GraphQL
A GraphQL Server on top of the coronavirus data provided by worldometers.info
Playground 👉 api.ncov.co.za
- Statistics: View up to date global statistics on COVID-19 cases.
- Countries: View up to date statistics on COVID-19 cases for all countries.
- Country: View up to date statistics on COVID-19 cases by country code.
You need to have the Serverless installed to run the application locally or deploy it to your own AWS account:
npm install -g serverless
# 1. Install project dependencies with yarn
yarn
# 3. Start server (runs on http://localhost:3000) and open GraphQL Playground
yarn start
-
yarn start
starts GraphQL server onhttp://localhost:3000
and opens GraphQL Playground -
yarn deploy
deploys application to AWS Lambda via serverless
- Extract overall active cases data.
- Extract overll closed cases data.
- Extract last updated time.