News App using the lWC and Apex REST Callouts.
I am covering the following topics in this session
Remote Site SettingCreation of Lightning App PageApex class to call REST API(news API)Display Data on Lightning Web ComponentDeploy your componentStep 1 - Create an news API key
Go to the following website and generate your news api key
https://newsapi.org/
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
https://newsapi.org/