resend-svelte-kit-example Svelte Themes

Resend Svelte Kit Example

This example shows how to use Resend with SvelteKit

Resend with SvelteKit

This example shows how to use Resend with SvelteKit.

Prerequisites

To get the most out of this guide, you’ll need to:

Instructions

  1. Define environment variables in .env
cp .env.example .env
  1. Update the RESEND_API_KEY in .env with your API key.

You can create an API key in the Resend dashboard.

  1. Install dependencies:
npm install
  1. Execute the following command:
npm dev
  1. Make a curl request:
curl -X POST http://localhost:5173/send

License

MIT License

Top categories

Loading Svelte Themes