Handle webhooks and process async with Rails - CreatorPlatform.xyz - Part 6
Handle webhooks and process async with Rails using sidekiq as our queue adapter. When a webhook event notification is received by Rails, we'll store the event in the database, then process it in the background with a Job. We'll talk about how to set up the routing for events based on the source and event type.
00:00 Introduction
00:20 Create a new Webhooks controller
01:29 Create a Job for handling webhook events
01:59 Install sidekiq in Ruby on Rails 7
03:39 Test Stripe webhooks
06:23 Route events based on source and event type
07:49 Install the Stripe Ruby gem
09:10 Conclusion
Playlist: https://www.youtube.com/playlist?list=PLS6F722u-R6IJfBrIRx3a2SBkAL4vUp2p
Code: https://github.com/cjavdev/creators.dev/
Follow me on Twitter: http://twitter.com/cjav_dev
#rubyonrails #ruby #rails