This example shows how to use Resend with Next.js.
Deploy the example using Vercel:
- Define environment variables in
.envfile.
cp .env.example .env- Install dependencies:
npm install
# or
yarn- Run Next.js locally:
npm run dev- Open URL in the browser:
http://localhost:3000/api/send
MIT License