Home

Awesome

<p align="center"> <a href="https://graphql.org/"><img src="./graphql.png" /></a> <br> <a href="https://vinitshahdeo.github.io/COVID19/"><img src="https://thumbs.gfycat.com/AjarFloweryJumpingbean-size_restricted.gif" width="60" height="60" /></a> </p> <h1 align="center"> <a href="https://vinitshahdeo.github.io/COVID19/">COVID-19</a> 🦠 API<sup>:mask:</sup> </h1> <p align="center"> <a href="https://github.com/vinitshahdeo/covid19api/blob/master/LICENSE"> <img alt="GitHub license" src="https://img.shields.io/github/license/vinitshahdeo/covid19api?logo=github" ></a> <a href="https://app.netlify.com/sites/indiafightscorona/deploys"> <img src="https://api.netlify.com/api/v1/badges/fcfb9be7-e730-460c-8bcf-e35179e7bdcb/deploy-status" /> </a> <a href="https://github.com/NovelCOVID/awesome-novelcovid"><img alt="GitHub top language" src="https://awesome.re/mentioned-badge.svg"></a> <a href="https://github.com/vinitshahdeo/COVID19/"><img alt="GitHub top language" src="https://img.shields.io/github/languages/top/vinitshahdeo/covid19api?logo=javascript"></a> </p> <h2 align="center">A <a href="https://graphql.org/">GraphQL</a> Express Server powered by @covid19india/<a href="https://github.com/covid19india/api">api</a> to provide COVID-19 related stats for India :india: </h2> <h3 align="center"><a href="http://corona-cases-india.netlify.com/">COVID-19 Tracker</a> ღ <a href="https://indiafightscorona.netlify.app/">Dashboard</a></h3> <p align="center"> <a href="https://github.com/vinitshahdeo/COVID19/stargazers"> <img src="https://img.shields.io/github/stars/vinitshahdeo/COVID19?label=LEAVE%20A%20Star%20on%20GitHub&logo=github&style=for-the-badge" /> </a> </p> <p align="center"> <a href="https://indiafightscorona.netlify.app/"> <img src="./covid19-dashboard.png" /> </a> </p> <p align="center"> <a href="https://www.producthunt.com/posts/covid-19-tracker-india?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-covid-19-tracker-india" target="_blank"> <img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=191600&theme=light" alt="COVID-19 Tracker | India - Get real-time state wise stats of COVID-19 in India | Product Hunt Embed" style="width: 250px; height: 54px;" width="250px" height="54px" /> </a> </p>

Setup

npm install && npm start

Steps Explained

Queries

GET overall COVID-19 stats

{ 
  total {
    active
    confirmed
    deaths
    recovered
  }
}

GET statewise COVID-19 stats

{
  statewise {
    state
    active
    confirmed
    deaths
    recovered
  }
}

GET datewise COVID-19 stats

{
  datewise {
    date
    dailyconfirmed
    dailydeceased
    dailyrecovered
  }
}

Dependencies Used

Related Work

License

FOSSA Status

< /> with ♡ by

Vinit Shahdeo

Open Source Love

Leave a :star:

Check out @vinitshahdeo/COVID19 repository. Consider leaving a star! :heart: :hugs:



if (_.isAwesome(thisRepo)) {
  thisRepo.star(); // thanks in advance :p
}


GitHub followers Twitter Follow