This is why webhooks are important

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025

Комментарии • 45

  • @younesessaadani9303
    @younesessaadani9303 Год назад +5

    What a great content you provide, you put us in real world scenarios thank you

  • @codeguy11
    @codeguy11 Год назад +31

    Instructions unclear: I'm now Captain Hook ☠️

  • @MattAnonymous
    @MattAnonymous День назад

    This was complete and fantastic!

  • @AmanKumar-cc9ui
    @AmanKumar-cc9ui 6 дней назад

    Best Video that explains the about the Web Hooks very easy to understand

  • @anubhaaav
    @anubhaaav 5 месяцев назад +3

    The github example got me thru, Thanks for this!

  • @licokr
    @licokr 11 месяцев назад

    The easiet explanation on RUclips, thank you very much!

  • @mehulsharmamat
    @mehulsharmamat Год назад +3

    Aye thanks so much! :D
    And yes webhooks are insane!

  • @EzDoesntExist
    @EzDoesntExist Год назад

    You are doing great job keep it up!

  • @medaillek
    @medaillek Год назад +18

    Hey, thanks for your videos. Could you show us how to integrate a notification system using either aws sns or websockets ?

  • @kaifahsan8459
    @kaifahsan8459 5 месяцев назад

    Thanks for the amazing video!

  • @DunckingTest
    @DunckingTest Год назад +3

    Great video, We always see you use s3 buckets and talk about them can you make a tutorial explaining the pricing and the free tier, plus how to use it and how much it charges you

  • @rolivasarhelyi
    @rolivasarhelyi 9 месяцев назад

    Very insightful. Thank you

  • @donte-ai
    @donte-ai 5 месяцев назад

    Great video!

  • @tmanley1985
    @tmanley1985 Год назад

    One weird thing about Server Side Events is that they can only contain text if I remember correctly. This is a great video though. I think what you excel at is showing the "flow" of how interconnected things fit together. Sometimes it's easy to get lost in the edges of a state machine especially a distributed one.

    • @tmanley1985
      @tmanley1985 Год назад

      I'll tell you one thing that might be a good playlist or even a separate channel and that's the business side to operating a saas. That's something that holds a lot of people back from starting their own thing.

    • @ShivamSingh-y3z
      @ShivamSingh-y3z Год назад

      Hi, can you elaborate more on what you mean by text? Couldn’t the text encode the data that the frontend consumes to know what to do (like notify the user the generation has completed)?

  • @gixxerblade
    @gixxerblade Год назад

    I did something similar with stripe when a payment was completed/failed. I used polling.

  • @Lion-mh9rq
    @Lion-mh9rq Год назад

    thanks for the videos!

  • @yassine-sa
    @yassine-sa Год назад +1

    Concerning the problem you may run into if you use websockets instead of server side events, how doesn't server side events face the same issue? if you use server side events it's similarly possible for the webhook response to be issued to the wrong instance because of the load balancer which would cause the same issue, or is there a way to send a server side event from any instance such that it will always be sent to the right user?

    • @WebDevCody
      @WebDevCody  Год назад +1

      I think it does face the same issue because your browser is connected to a stateful machine, so yes it would be the same issue. Sorry for not discussing that. There are ways to setup a sticky load balancer so your users will always connect to the same server, but still you'd have the issue of the webhook might send back the response to the incorrect server.
      Just using a websocket service would be the easiest approach IMO.

  • @solo_driven
    @solo_driven 10 месяцев назад

    Why to not use a webhook to notify the update the ui of the user? What is the difference between webhook and websocket ?

    • @WebDevCody
      @WebDevCody  10 месяцев назад

      A webhook can invoke the ui. Webhooks can only hit a server

  • @HrveyDnt
    @HrveyDnt 2 месяца назад

    i thought the person in the pictures was Mr Beast right until the last 3 seconds of the video

  • @SogMosee
    @SogMosee Год назад

    excalidraw bezier curves for arrows are significantly better than eraser io, tldraw, icepanel and anything else out there
    excalidraw is free
    excalidraw can be included in webapps and obsidian
    excalidraw allows you to create your own shapes and save them to a library so I am missing out on nothing with the icons

    • @WebDevCody
      @WebDevCody  Год назад

      ok... but I enjoy using eraser 🤣. I started using excalidraw and switch to this because it feels better to me

  • @butwhothehellknows
    @butwhothehellknows Год назад

    Love ya ❤

  • @joaomaia9140
    @joaomaia9140 Год назад

    Any tutorials using nextjs?

    • @WebDevCody
      @WebDevCody  Год назад

      Search my channel

    • @joaomaia9140
      @joaomaia9140 Год назад

      ruclips.net/video/uyVz6LA3Eho/видео.htmlsi=8scPS6IE2ZWQBGfm this one?

  • @joaquinbonifacino6964
    @joaquinbonifacino6964 Год назад +1

    Why not use an observer instead of a Webhook?

    • @WebDevCody
      @WebDevCody  Год назад +1

      not sure what that is. like the design pattern? because if you're deploying to a serverless environment, you are charged to keep that code running which defeats the purpose of serverless

    • @joaquinbonifacino6964
      @joaquinbonifacino6964 Год назад

      Sorry iam pretty much a junior, yeah the design pattern, i used Observers for this exact problem, tried to understand what you mean with gpt xd, you meant becuase of the cost?@@WebDevCody

    • @smreason
      @smreason Год назад +1

      Another reason not to use lambdas where you pay to wait or else add a complex system. AWS really tricked the industry.

    • @majksu
      @majksu Год назад

      Doesnt observer require stateful app? Webhook is simple and fast. Given example - payment. You send client to the payment provider or whatever and then you let them process everything and let you know when it's done by webhook with all the informations. You may save it and send some other events based on the status of the payment etc

    • @joaquinbonifacino6964
      @joaquinbonifacino6964 Год назад

      The thing is, i use an observer for the same thing (and its the porpuse that my computer science teacher gave it), i add it as a callback in my API calls in angular and it notifies me when the API returned the call, also you can use observer in stateless apps at least in my quick google search@@majksu

  • @rawallon
    @rawallon Год назад

    Hey, this is kinda offtopic from the video, sorry for that, but I was thinking of some ideas to try making a service that uses AI to generate both text and images, what services would you recommend to try it out?

    • @WebDevCody
      @WebDevCody  Год назад

      text inside ai generated images is still pretty bad, so I can't give good recommendations. Dalle3 sometimes does text ok. You'd probably need to to wait until it improves or find a custom solution which figures out how to merge text and image seamlessly.

    • @rawallon
      @rawallon Год назад

      @@WebDevCody Sorry I didnt meant text inside image, but rather both services apart but with similar prompts

  • @benc9765
    @benc9765 Год назад

    Hookdeck is worth exploring

  • @ilyaselaissi1628
    @ilyaselaissi1628 Год назад +2

    I think using firebase could make things easier

    • @adityarawat4964
      @adityarawat4964 11 месяцев назад

      But will not give you more control

  • @cunningham.s_law
    @cunningham.s_law Год назад +2

    *server sent events