COVID 19 – Live Tracker Using Lightning Web Component (LWC)
I hope every one safe, please keeping yourself safe for this critical time. i have built a Near real-time COVID 19 data tracker using Lightning Web Component with the help of “Coronavirus COVID19 API“.
Be Safe & Healthy for this Critical Time and hope soon will come back normal life with strongly!
From this tracker, we will get the Country wise trackers like New Confirmed, Total Confirmed, New Deaths, Total Deaths, New Recovered, Total Recovered list from API.
Here I used the following key functionalities in order to achieve the COVID 19 Near Real-Live data:
- lightning-datatable in Lightning Web Component
- Continuation Class used to make callouts asynchronously
- Published the Lightning Web Component in Lightning Community with public access without Login
DEMO:
SALESFORCE COMMUNITY URL – https://corona19-livetracker-developer-edition.ap15.force.com/s/
Reference:
Refer the code from my Git Repo – https://github.com/sakthivelsfdc/covid19_live_tracker_LWC
Coronavirus COVID19 API from POSTMAN – https://documenter.getpostman.com/view/10808728/SzS8rjbc?version=latest