News App using the lWC and Apex REST Callouts.
I am covering the following topics in this sessionRemote Site SettingCreation of Lightning App PageApex class to call REST API(news API)Display Data on Lightning Web ComponentDeploy your component
Step 1 - Create an news API key
Go to the following website and generate your news api key
Step 2 - Remote Site Setting
Salesforce prevents calls to unauthorized network address. So to fetch the data from news api we have to add this https://newsapi.org/ URL to our remote site settings
To add this go to setup