Skip to content

j-tesla/covidsupport

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Single place to search all Covid Data Sources

At covidsupport.neera.ai we provide a single place to search all covid sources.

How does this work?

  • We get fetch data from multiple sources.
  • Convert into one standard format
  • This data is searched and filtered on the frontend.

The data collection part is available here. You can use the full app at covidsupport.neera.ai

How to run the project locally

Frontend

cd web && npm install
npm start

Backend

cd server && npm install
node server.js

The standard data format

const sample_data = {
  hospital: "Prakash Hospital, Sangli",
  city: "Pune",
  verifiedAt: "2021-04-24T07:09:54.704Z", // ISO format use https://momentjs.com/docs/#/displaying/as-iso-string/ to conver to this
  contactNumber: "8668606730, 8983346714",
  bedCount: "400", // This is count of vacant beds
  oxygenBeds: "30", // This is count of vacant beds with oxygen
  icuCount: "30", // This is count of vacant icu beds
  ventilatorCount: "10", // // This is count of vacant icu beds with  ventilator
  email: "",
  contactPerson: "CMO",
  state: "Maharashtra",
  resources: ["beds", "oxygen", "icu"], // An array, values should be one of "beds", "oxygen", "ventilator", "icu", "plasma", "fabiflu", "tocilizumab" or "remdesivir"
  source: "https://umeed.live",
};

How to add a new data source?

  • Go to your data source, open the developer console, in the network tab you'll probably see an API request sending data to the client.
  • Write a function to get this data, and convert it to the standard format specified above.
  • Add that function along with source in the dataFetchers in dataFetcher.js file, and send a pull request.

Covered sources

Requested Sources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.8%
  • HTML 3.3%
  • Other 0.9%