This example shows how to use Resend with Astro Actions and Node.js.
To get the most out of this guide, you’ll need to:
- Define environment variables in
.env
file.
cp .env.example .env
- Install dependencies:
npm install
# or
yarn
- Add your name/domain in Resend calls
- src/actions/index.ts
- src/pages/api/send.ts
- Execute the following command:
npm run dev
MIT License