Skip to content

Salesforce Lightning Web Component that can be embedded into Account and Contact record page, which will show all COVID-19 statistics data based of Account's and Contact's respective country .

License

Notifications You must be signed in to change notification settings

jbleyleSF/LWC-Component-COVID19

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LWC-Component-COVID19

Salesforce Lightning Web Component that can be embedded into Account or Contact record page, which will show all COVID-19 statistics of Account and Contact respective country.

Data source: https://github.com/pomber/covid19

API's data will be updated daily.

Features

  1. Show latest COVID-19 data of respective country, including case confirmed, recovered and deaths.
  2. Mobile support
  3. Show graph of 5 recent days data from respective country.

Screenshot

Account

Account

Contact

Contact

Mobile

Data Not Found

Data not found

Data Not Found

How to use

Add API endpoint into Trusted Sites

Since this component using API outside Salesforce, first we must add the API endpoint below into our Salesforce Org CSP Trusted Sites.

API Endpoint : https://covid19-data-aru.herokuapp.com

If you're not sure how to add this, please see step by step setup here.

Deploy these source codes to your Salesforce Org

After you finish added trusted sites, then you deploy source codes in this repository into your Salesforce Org.

If you still don't know how to deploy to your Org, you can learn from this trailhead.

Having any issues

Please create new issue to this repository

Contributing

Any contribution is welcome. Please see this guidance before you create a pull request

Created with ❤️ by Alfian Busyro

About

Salesforce Lightning Web Component that can be embedded into Account and Contact record page, which will show all COVID-19 statistics data based of Account's and Contact's respective country .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.4%
  • HTML 44.0%
  • CSS 5.6%