Skip to content
loading...

GraphQL endpoint for getting stats of COVID19

github logo ・1 min read  

COVID19-APPS-SERIES (5 Part Series)

1) πŸ†˜πŸ†˜ NOVEL CORONAVIRUS πŸ†˜πŸ†˜ Daily Reports And World Map 2) New UI for Covid-19 tracker and PWA support 3) GraphQL endpoint for getting stats of COVID19 4) COVID 19 SEARCH ENGINE 5) PWA FOR INDIAN COVID19 HELP AND STATS

I,ve created a GraphQL endpoint for getting stats of COVID19.
Use it and send a pull on REPO, I'll add it to the showcase.

Also I welcome all those who want to make it better. :)

LINK OF ENDPOINT: https://sharad-gql-covid19.herokuapp.com/graphql

Alt Text

twitter logo DISCUSS (22)
markdown guide
 

I really want to use this API! I tried to use this in a codesandbox and got a "Network error: Failed to fetch" error. Do I need to so anything special to use this?

 

Let me see and resolve the problem

 
 

Thanks for posting this gql server! This is an interesting distraction in difficult times

 

Did u tried again, it's not a normal API btw you'll have to use a lil different code perform the fetch on /graphql

 

Can you please include that different code in your readme/docs to help? I tried it in code sandbox, and now again locally with create-react-app with Apollo set up. Still no luck

 
 
 

Done! ✌️😷 covidlive.it/en

I found an inconsistency from your numbers and mine in Italy. Do you know why?

Cool submit a PR on repo...

and Why

 
 

Thanks !
You should also add yesterdayCases and yesterdayDeaths because most of the daily data are partial.

 

You're welcome...
Okay I'll add it by today night

 
Classic DEV Post from Sep 23 '19

Pay your rent from open source πŸ’Έ

hello world! πŸ‘‹ This is my first #discuss thread and I want it to be on something relevant...

SHARAD RAJ profile image
Learning to be a Giant | Intel AI Edge Scholar 2019 | Google India Scholar 2018