Database Webhooks and Edge Functions
Edge Functions are now integrated with Database Webhooks[0] in the Supabase Dashboard. Using the UI, you can now easily trigger Edge Functions in real-time when there are changes to your Database tables. - Find the docs: https://supabase.com/docs/guides/database/webhooks - Find the code: https://github.com/thorwebdev/edgy-edge-functions/blob/main/supabase/functions/database-webhook/index.ts - Watch the previous tutorial: https://youtu.be/codAs9-NeHM 🎙️ Presented by Thor Schaeff (@thorwebdev https://go.thor.bio/x) ## Chapters 00:00 Database Webhooks Intro 00:48 Create a Database Webhook Handler 02:14 Deploy Edge Function with JWT verification 03:22 Create a Database Webhook 04:48 Attach Authorization Header to Webhook 05:50 Trigger INSERT Database Webhook 06:28 Generate Webhook Payload Types 07:40 Generate TypeScript Types from Database ## About Edgy Edge Functions Edgy Edge Functions is a video series where we explore Supabase Edge Functions[1] and Deno[2] functionality and features. If there's something you'd like to learn about, please open an issue[3] and let me know on this Tweet thread[4]. Thanks for stopping by! Denosaur and I will see you soon \o/ [0] https://supabase.com/docs/guides/database/webhooks [1] https://supabase.com/edge-functions [2] https://deno.land/ [3] https://github.com/thorwebdev/edgy-edge-functions/issues/new/choose [4] https://twitter.com/thorwebdev/status/1595719098863788032
Download
0 formatsNo download links available.