This is why webhooks are important

Поділитися
Вставка
  • Опубліковано 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 UA-cam, 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 Рік тому

      ua-cam.com/video/uyVz6LA3Eho/v-deo.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

  • @cunningham.s_law
    @cunningham.s_law Рік тому +2

    *server sent events