Files
2025-05-28 09:55:51 +08:00

865 B
Raw Blame History

Resend with Supabase Edge Functions

This example shows how to use Resend with Supabase Edge Functions.

Prerequisites

To get the most out of this example, youll need to:

cp .env.example .env

Instructions

  1. Make sure you have the latest version of the Supabase CLI installed.

  2. Run function locally:

supabase start
supabase functions serve --no-verify-jwt --env-file ./supabase/.env.local

GET http://localhost:54321/functions/v1/send-email-resend

  1. Deploy function to Supabase:
supabase functions deploy resend --no-verify-jwt

License

MIT License