Skip to content

This GraphQL API provides updated real-time data on coronavirus cases from the worldometers page and other important websites, provided by the most reputable organizations and statistical offices in the world.

Notifications You must be signed in to change notification settings

ChrisMichaelPerezSantiago/covid19-gql

Repository files navigation

Nest Logo

This GraphQL API provides updated real-time data on coronavirus cases from the worldometers page and other important websites, provided by the most reputable organizations and statistical offices in the world.

Maintenance License: MIT now

🚨 Project in premature state 🚨

Project started, and in development process. More information in the next days / weeks.

⚙️ Collaboration installation process

Installation of all dependencies

npm install

Start local server Local server port assigned to PORT 3000

npm run start

GraphQL Playground

http://localhost:3000/graphql

📖 Documentation

Data Queries From Puerto Rico

Medical Data

  • PRMedicalAidDistribution
query{
  PRMedicalAidDistribution{
    recipient_Name 
    city
    county
    state
    first_shipment
    last_shipment
    weight_lbs
    country
    facility_type
    number_of_deliveries
    cost
  }
}

Biosecurity

  • PRDataByTowns
query{
  PRDataByTowns{
    table{
      attributes{
        town
        health_region
        total_cases
      }
    }
  }
}
  • HospitalDataAndNeeds
query{
  PRHospitalDataAndNeeds{
    table{
      attributes{
        T_Camas_Adult_Disp
        T_Camas_Adult_Int_Disp
        T_Camas_Adult_Int_Occ
        T_Camas_Ped_Int_Disp 
        T_Camas_Ped_Int_Occ
        T_Cuartos_PSINeg_Disp
        T_Cuartos_PSINeg_Occ
        T_Vent_Adult_Disp
        T_Vent_Adult_Occ
        T_Vent_Ped_Disp
        T_Vent_Ped_Occ
        T_Morgue_Disp
        T_Morgue_Occ
        // ......
      }
    }
  }
}
  • PRBiosecurityDataByRegion
query{
  PRBiosecurityDataByRegion{
    table{
      attributes{
        RegionSalud
        Region
        Total
      }
    }
  }
}

Donations

COVID19 GraphQL API is an open source project licensed by MIT with continuous development. If you want me to continue maintaining this library and you are interested in continuing to use it, you can help me with a monetary help in the following link:

Buy Me A Coffee

These are projects that take a lot of effort and time to maintain. So with your help I will be more motivated to continue maintaining the COVID19 API project.

🤝 Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request

👥 Credits


💢 Troubleshootings

This is just a personal project created for study / demonstration purpose and to simplify my working life, it may or may not be a good fit for your project(s).


❤️ Show your support

Please ⭐ this repository if you like it or this project helped you!
Feel free to open issues or submit pull-requests to help me improving my work.


🤖 Author

Chris Michael

You can follow me on github · twitter


Copyright © 2020 COVID19 GraphQL API.

About

This GraphQL API provides updated real-time data on coronavirus cases from the worldometers page and other important websites, provided by the most reputable organizations and statistical offices in the world.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published