{"id":21542818,"url":"https://github.com/vinitshahdeo/covid19api","last_synced_at":"2025-04-10T04:34:46.830Z","repository":{"id":42783251,"uuid":"272996612","full_name":"vinitshahdeo/covid19api","owner":"vinitshahdeo","description":"Playing with GraphQL and COVID-19 API! Checkout the related COVID-19 Tracker for India.","archived":false,"fork":false,"pushed_at":"2022-12-13T03:44:58.000Z","size":2705,"stargazers_count":33,"open_issues_count":17,"forks_count":27,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-24T05:51:42.771Z","etag":null,"topics":["coronavirus-info","coronavirus-tracking","covid-19","covid-19-india","covid-19-tracker","covidapi","hacktoberfest"],"latest_commit_sha":null,"homepage":"https://vinitshahdeo.github.io/covid19api/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vinitshahdeo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-17T14:31:10.000Z","updated_at":"2024-07-18T19:33:08.000Z","dependencies_parsed_at":"2023-01-28T06:15:19.985Z","dependency_job_id":null,"html_url":"https://github.com/vinitshahdeo/covid19api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinitshahdeo%2Fcovid19api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinitshahdeo%2Fcovid19api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinitshahdeo%2Fcovid19api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinitshahdeo%2Fcovid19api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinitshahdeo","download_url":"https://codeload.github.com/vinitshahdeo/covid19api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248158119,"owners_count":21057117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coronavirus-info","coronavirus-tracking","covid-19","covid-19-india","covid-19-tracker","covidapi","hacktoberfest"],"created_at":"2024-11-24T05:11:29.587Z","updated_at":"2025-04-10T04:34:46.794Z","avatar_url":"https://github.com/vinitshahdeo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://graphql.org/\"\u003e\u003cimg src=\"./graphql.png\" /\u003e\u003c/a\u003e\n    \u003cbr\u003e\n    \u003ca href=\"https://vinitshahdeo.github.io/COVID19/\"\u003e\u003cimg\n       src=\"https://thumbs.gfycat.com/AjarFloweryJumpingbean-size_restricted.gif\" width=\"60\" height=\"60\" /\u003e\u003c/a\u003e\n \u003c/p\u003e\n \u003ch1 align=\"center\"\u003e \u003ca href=\"https://vinitshahdeo.github.io/COVID19/\"\u003eCOVID-19\u003c/a\u003e 🦠 API\u003csup\u003e:mask:\u003c/sup\u003e \u003c/h1\u003e\n \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/vinitshahdeo/covid19api/blob/master/LICENSE\"\u003e\n    \u003cimg alt=\"GitHub license\"\n       src=\"https://img.shields.io/github/license/vinitshahdeo/covid19api?logo=github\"\n    \u003e\u003c/a\u003e \n    \u003ca href=\"https://app.netlify.com/sites/indiafightscorona/deploys\"\u003e\n    \u003cimg\n       src=\"https://api.netlify.com/api/v1/badges/fcfb9be7-e730-460c-8bcf-e35179e7bdcb/deploy-status\" /\u003e\n    \u003c/a\u003e \n    \u003ca href=\"https://github.com/NovelCOVID/awesome-novelcovid\"\u003e\u003cimg alt=\"GitHub top language\" src=\"https://awesome.re/mentioned-badge.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/vinitshahdeo/COVID19/\"\u003e\u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/vinitshahdeo/covid19api?logo=javascript\"\u003e\u003c/a\u003e\n \u003c/p\u003e\n \u003ch2 align=\"center\"\u003eA \u003ca href=\"https://graphql.org/\"\u003eGraphQL\u003c/a\u003e Express Server powered by @covid19india/\u003ca\n    href=\"https://github.com/covid19india/api\"\u003eapi\u003c/a\u003e to provide COVID-19 related stats for India :india: \n \u003c/h2\u003e\n \u003ch3 align=\"center\"\u003e\u003ca href=\"http://corona-cases-india.netlify.com/\"\u003eCOVID-19 Tracker\u003c/a\u003e ღ \u003ca href=\"https://indiafightscorona.netlify.app/\"\u003eDashboard\u003c/a\u003e\u003c/h3\u003e\n \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/vinitshahdeo/COVID19/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/vinitshahdeo/COVID19?label=LEAVE%20A%20Star%20on%20GitHub\u0026logo=github\u0026style=for-the-badge\" /\u003e\n    \u003c/a\u003e\n \u003c/p\u003e\n \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://indiafightscorona.netlify.app/\"\u003e\n    \u003cimg src=\"./covid19-dashboard.png\" /\u003e\n    \u003c/a\u003e\n \u003c/p\u003e\n \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.producthunt.com/posts/covid-19-tracker-india?utm_source=badge-featured\u0026utm_medium=badge\u0026utm_souce=badge-covid-19-tracker-india\"\n       target=\"_blank\"\u003e\n       \u003cimg\n        src=\"https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=191600\u0026theme=light\"\n        alt=\"COVID-19 Tracker | India - Get real-time state wise stats of COVID-19 in India | Product Hunt Embed\"\n        style=\"width: 250px; height: 54px;\" width=\"250px\" height=\"54px\" \n       /\u003e\n      \u003c/a\u003e\n \u003c/p\u003e\n\n## Setup\n\n```bash\nnpm install \u0026\u0026 npm start\n```\n### Steps Explained\n\n- Open terminal and run `npm install`\n\n- Run `npm start`\n\n- Open browser and go to `http://localhost:8080/graphql`\n\n- Type the [queries](#queries) and enjoy! :smile:\n\n- Run `npm run server` for local development\n\n\n## Queries\n\n#### `GET` overall COVID-19 stats\n\n```graphql\n{ \n  total {\n    active\n    confirmed\n    deaths\n    recovered\n  }\n}\n```\n\n#### `GET` statewise COVID-19 stats\n\n```graphql\n{\n  statewise {\n    state\n    active\n    confirmed\n    deaths\n    recovered\n  }\n}\n```\n\n#### `GET` datewise COVID-19 stats\n\n```graphql\n{\n  datewise {\n    date\n    dailyconfirmed\n    dailydeceased\n    dailyrecovered\n  }\n}\n\n```\n## Dependencies Used\n\n- [express](https://www.npmjs.com/package/express): A web application framework for [Node.js](https://nodejs.org/)\n\n- [graphql](https://www.npmjs.com/package/graphql): The JavaScript reference implementation for [GraphQL](https://graphql.org/)\n\n- [express-graphql](https://www.npmjs.com/package/express-graphql): A GraphQL HTTP Server middleware\n\n## Related Work\n\n- [COVID-19 Tracker - INDIA](http://corona-cases-india.netlify.com/) - A React App with the following features:\n    - Graphs showing daily **confirmed**, **recovered** and **deceased** cases\n    - **State-wise** report presented in Map of India\n    - Tabular data for global corona cases\n    - **Latest news** about COVID-19\n    - Additional resources such as symptoms, precautions etc.\n\n- [India Fights Corona -  Get current COVID-19 stats](https://indiafightscorona.netlify.app/)!\n\n- [COVID-19 Tracker - Homepage](https://vinitshahdeo.github.io/COVID19/)\n\n- An [Open Letter](https://github.com/vinitshahdeo/Water-Monitoring-System/issues/236) to all the contributors -  [STAY HOME, STAY SAFE!](https://github.com/vinitshahdeo/COVID19)\n\n## License\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fvinitshahdeo%2Fcovid19api.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fvinitshahdeo%2Fcovid19api?ref=badge_large)\n\n## `\u003c /\u003e` with ♡ by \n\n[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/COVID19/images/0)](https://fayz.in/stories/s/1522/0/?ckt_id=ZGL1ZGVk\u0026title=story_of_vinit_shahdeo)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/COVID19/images/1)](https://indiafightscorona.netlify.app/)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/COVID19/images/2)](https://github.com/vinitshahdeo/COVID19)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/COVID19/images/3)](https://www.linkedin.com/in/vinitshahdeo/)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/COVID19/images/4)](http://corona-cases-india.netlify.com/)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/COVID19/images/5)](http://corona-cases-india.netlify.com/)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/COVID19/images/6)](https://github.com/vinitshahdeo)[![](https://sourcerer.io/fame/vinitshahdeo/vinitshahdeo/COVID19/images/7)](https://fayz.in/stories/s/1522/0/?ckt_id=ZGL1ZGVk\u0026title=story_of_vinit_shahdeo)\n\n#### [Vinit Shahdeo](https://www.eatmy.news/2020/06/code-like-you-eat-i-mean-code-daily-as.html)\n\n[![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/vinitshahdeo)\n\n## Leave a :star:\n\n\nCheck out **@vinitshahdeo/[COVID19](https://github.com/vinitshahdeo/COVID19)** repository. **Consider leaving a star!** :heart: :hugs:\n\n\n----\n```javascript\n\nif (_.isAwesome(thisRepo)) {\n  thisRepo.star(); // thanks in advance :p\n}\n\n```\n----\n\n[![GitHub followers](https://img.shields.io/github/followers/vinitshahdeo.svg?label=Follow%20@vinitshahdeo\u0026style=social)](https://github.com/vinitshahdeo/)  [![Twitter Follow](https://img.shields.io/twitter/follow/Vinit_Shahdeo?style=social)](https://twitter.com/Vinit_Shahdeo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinitshahdeo%2Fcovid19api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinitshahdeo%2Fcovid19api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinitshahdeo%2Fcovid19api/lists"}