Build a News App using LWC and Apex REST Callouts

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 มี.ค. 2020
  • In this tutorial, you will learn How to Build a News App using the lightning web component and Apex REST Callouts. I am covering the following topics in this session
    1. Remote Site Setting
    2. Creation of Lightning App Page
    3. Apex class to call REST API(news API)
    4. Display Data on Lightning Web Component
    5. Deploy your component
    LINKS USED IN THIS VIDEO
    ======================
    FOR NEWS API - newsapi.org/
    FOR MODAL -www.lightningdesignsystem.com...
    FOR CSS - github.com/karkranikhil/LWC-N...
    COMPLETE CODE - github.com/karkranikhil/LWC-N...
    FOR COOL STUFF OF LIGHTNING WEB COMPONENT
    salesforcelightningweb.com/
    FOLLOW ME -
    FACEBOOK - / salesforcetroop
    LINKEDIN - / salesforcetroop
    TWITTER - @karkra_nikhil
    This is especially for all the students and IT professional who wants to make their career in Salesforce.
    PLEASE DO LIKE, SHARE AND SUBSCRIBE THIS VIDEO WITH ALL YOUR STUDENT NETWORK, IT NETWORK AND SALESFORCE NETWORK.
    Let everyone learn Salesforce and become a part of our #Ohana.

ความคิดเห็น • 22

  • @srikanthk719
    @srikanthk719 4 ปีที่แล้ว

    Excellent topic, appreciate your effort, thank you for sharing and keep post the videos, thank you once again.

  • @elenamedved
    @elenamedved 2 ปีที่แล้ว

    Excellent Video!!! Love it!

  • @user-882hhgys
    @user-882hhgys 3 ปีที่แล้ว

    It's superb appreciate your way of work

  • @amantiwari3493
    @amantiwari3493 4 ปีที่แล้ว +1

    Never thought that learning and implement code in LWC will be so easy. You have made a cakewalk for many topics. The videos are very informative and was able to successfully implement everything related to NEWS App. Thanks a lot!! :)

  • @kumarvenkat739
    @kumarvenkat739 ปีที่แล้ว

    Thank you so much for the valuable content

  • @ruddycrespochoque3428
    @ruddycrespochoque3428 6 หลายเดือนก่อน

    thanks for your content

  • @saiseshapu3938
    @saiseshapu3938 ปีที่แล้ว

    Excellent Explanation and I appreciate your work, its very helpful for us, Keep it going , Please do Vedio on Css....Thanks

  • @aarishahmad8692
    @aarishahmad8692 3 ปีที่แล้ว

    Excellent once again i keep getting amazed everytime i go through your video .Thanks a lot
    One humble request ,if u could make video on what all topics of css are required it would be really helpful
    and a tutorial on integration restservice,outh etc... would be really helpful

  • @theProhorKey
    @theProhorKey 2 ปีที่แล้ว

    thanks from Belarus!)

  • @amiya8251
    @amiya8251 3 ปีที่แล้ว +1

    Thanks a lot for this video. We could had also gone with making title as hyperlink and when user clicks on it , news details are accessible in separate tabs. This can save lot of code for 'Read More' modal functionality, though it depends on Client's requirement finally. Just a thought. Nice informative video though.

  • @ManishRaj-yd6bq
    @ManishRaj-yd6bq 11 หลายเดือนก่อน

    Your Way of teaching is always awesome🤩
    I watched Zero to Hero on Udemy, you explained in a way that even LKG students can learn LWC
    Great Job Nikhil

  • @swathikumar3074
    @swathikumar3074 4 ปีที่แล้ว

    A very nice video. can u please make a video on CSS in LWC

  • @norbert_99
    @norbert_99 3 ปีที่แล้ว

    Hi thanks for your wonderful tutorial. just would like to know the best practice for developing LWC. could you explain when, when not to use apex class ? I have watched your other tutorial and you can still develop an app with out using APEX. please please enlighten.

  • @anupambasak2000
    @anupambasak2000 7 หลายเดือนก่อน

    Hey! Could you please upload this video by making a callout from Named Credentials?

  • @kumarik9027
    @kumarik9027 2 ปีที่แล้ว

    Hi Nikhil,
    Please make a video on how to Add/Remove Rows in the Data table in LWC Salesforce.
    Thank you.

  • @shubhamraj478
    @shubhamraj478 2 ปีที่แล้ว

    Can we use an Integration Procedure to call the API and use its response in LWC to show news ?

  • @shubhamraj478
    @shubhamraj478 2 ปีที่แล้ว

    Can we add this project in our resume ?

  • @fredericklane745
    @fredericklane745 4 ปีที่แล้ว

    In the Controller, if an exception is thrown will null response or with an error, how would we display an error message to advise the tester or user the notify them?

    • @salesforcetroop
      @salesforcetroop  4 ปีที่แล้ว +2

      IN this code, We haven't handled the error. IN real-time, our service call will catch the error in the LWC js file and we open the toast and print the message. There are many ways to handle the errors based on the use cases.
      If you want I can build a video on error handling.

    • @saiprasannathogiti6559
      @saiprasannathogiti6559 3 ปีที่แล้ว

      @@salesforcetroop Hi can you help me how to write the test class for the apex controller in the example provided as we cannot use static resources here for the output.
      Please help or guide me.

    • @salesforcetroop
      @salesforcetroop  3 ปีที่แล้ว +1

      @@saiprasannathogiti6559 Sorry Sai, I don't know apex. I am a Salesforce UI specialist.