Resend with Next.js (App Router)
This example shows how to use Resend with Next.js.
Instructions
-
Define environment variables in
.env
file. -
Install dependencies:
npm install
# or
yarn
- Run Next.js locally:
npm run dev
- Open URL in the browser:
http://localhost:3000/api/send
License
MIT License