This example shows how to use Shoutbox with Supabase Edge Functions.
To get the most out of this guide, you’ll need to:
- Create an API key
- Verify your domain
- Create your
.env
file and set yourSHOUTBOX_API_KEY
cp .env.example .env
-
Make sure you have the latest version of the Supabase CLI installed.
-
Run function locally:
supabase start
supabase functions serve --no-verify-jwt --env-file .env
GET http://localhost:54321/functions/v1/shoutbox
- Deploy function to Supabase:
supabase functions deploy shoutbox --no-verify-jwt
MIT License