{"repo":"hookdeck/supahooks","free":true,"listed":false,"github":"https://github.com/hookdeck/supahooks","clone":"git clone https://github.com/hookdeck/supahooks.git","description":"An example of using Hookdeck as outbound webhook infrastructure within a Next.js application","language":"TypeScript","stars":20,"topics":["asynchronous-programming","supabase","supabase-db","webhooks","nextjs","nextjs-starter","nextjs-template","event-driven-application","event-driven-architecture"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"SupaHooks: Outbound Webhooks Template for Hookdeck A template demonstrating using Hookdeck as your outbound webhook infrastructure. 📽️ Watch the SupaHooks video walkthrough About Hookdeck is an event gateway: infrastructure that supports use cases, including receiving webhooks, sending webhooks, and connecting third-party services. This template provides the basic building blocks for registering and managing webhook subscriptions with Hookdeck. Specifically: - Each webhook subscription is represented within Hookdeck as a Connection. - A Connection has a Destination, representing the webhook endpoint. - A Connection also has a Source, which a webhook publisher should make an authenticated request to publish an event. Getting Started App Dependencies Install the project dependencies: Credentials Signup for Hookdeck, and from within a project, get your API key and signing secret from Settings - Secrets . Signup for Supabase, create a new project, and get your Supabase URL and Anon Key. Add the credentials for Hookdeck and Supabase to a .env.local file along with a PUBLISH KEY , which should be a unique key that enables webhooks to be triggered: Database and Hookdeck Run the following to generate your database schema: If you have not logged in with the Hookdeck CLI (a project dev dependency), you will do so when running the above command. Copy the contents of supabase/schema.sql into the Supabase SQL editor and run it to create your schema. Note: you may need to enable Database ","default_branch":null,"files":null,"tree":[],"storefront":"/r/hookdeck","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hookdeck/supahooks/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}