News App using the lWC and Apex REST Callouts.

I am covering the following topics in this session

  • Remote Site Setting
  • Creation of Lightning App Page
  • Apex class to call REST API(news API)
  • Display Data on Lightning Web Component
  • Deploy 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 URL to our remote site settings

    To add this go to setup
    Site developed by Nikhil Karkra © 2023 | Icons made by Freepik