https://github.com/resend/resend-supabase-edge-functions-example
This example shows how to use Resend with Supabase Edge Functions
https://github.com/resend/resend-supabase-edge-functions-example
Last synced: 3 months ago
JSON representation
This example shows how to use Resend with Supabase Edge Functions
- Host: GitHub
- URL: https://github.com/resend/resend-supabase-edge-functions-example
- Owner: resend
- License: mit
- Created: 2023-06-02T18:04:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-10-27T13:28:20.000Z (8 months ago)
- Last Synced: 2026-02-21T14:36:36.351Z (4 months ago)
- Language: TypeScript
- Homepage: https://resend.com/docs/send-with-supabase-edge-functions
- Size: 7.81 KB
- Stars: 34
- Watchers: 0
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - resend/resend-supabase-edge-functions-example - This example shows how to use Resend with Supabase Edge Functions (TypeScript)
README
# Resend with Supabase Edge Functions
This example shows how to use Resend with [Supabase Edge Functions](https://supabase.com/docs/guides/functions).
## Prerequisites
To get the most out of this guide, you’ll need to:
- [Create an API key](https://resend.com/api-keys)
- [Verify your domain](https://resend.com/domains)
- Create your `.env` file and set your `RESEND_API_KEY`
```bash
cp .env.example .env
```
## Instructions
1. Make sure you have the latest version of the [Supabase CLI](https://supabase.com/docs/guides/cli#installation) installed.
2. Run function locally:
```sh
supabase start
supabase functions serve --no-verify-jwt --env-file .env
```
GET http://localhost:54321/functions/v1/resend
3. Deploy function to Supabase:
```sh
supabase functions deploy resend --no-verify-jwt
```
## License
MIT License