Skip to content

RamPrasadMeenavalli/react-covid19-tracker

Repository files navigation

react-covid19-tracker

Tweet Github all releases Maintenance

Summary

This webpart shows the number of COVID-19 cases recorded from different countries on a sharepoint site. It allows the users to select their personal choice of a particular country. And shows the information for the chosen country.

Refer the blog for more details

covid19-tracker

Data Source

This webpart uses the data from Coronavirus Data API

How to use

  • Download the latest app package file from the Releases section.
  • Add the .sppkg file to your App Catalog
  • Install the app in a SharePoint site.
  • From the Webpart Toolbox search for Covid-19 Tracker webpart and add it to the page.

Used SharePoint Framework Version

drop

Applies to

WebPart Properties

Property Type Default Comments
Default Country Dropdown The default country to be shown
Default Province Dropdown The default province to be shown

Solution

This Web Part uses PnPjs library, Office-UI-Fabric-react components and coronavirus-tracker-api which is a wrapper on top of Johns Hopkins CSSE data respository

Solution Author
react-covid-19-tracker Ram Twitter

Version history

Version Date Comments
1.0.0.0 March 15, 2020 Initial release
1.0.0.1 March 17, 2020 Added property to select default Country/Province. Changed the display format for the stats.

Want to Contribute?

If you would like to contribute by adding new features or fixing existing/reported issues, please checkout the issues. Leave a comment on the issue which you would like to work on. Once the issue is assigned to you, you can start working on the task and submit a pull request.

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Minimal Path to Awesome

  • Clone this repository
  • Run the following in the command window:
    • npm install
    • gulp build
    • gulp bundle --ship
    • gulp package-solution --ship