/resend-nextjs-app-router-example

This example shows how to use Resend with Next.js (App Router)

Primary LanguageTypeScriptMIT LicenseMIT

Resend with Next.js (App Router)

This example shows how to use Resend with Next.js.

Instructions

  1. Define environment variables in .env file.

  2. Install dependencies:

npm install
# or
yarn
  1. Run Next.js locally:
npm run dev
  1. Open URL in the browser:
http://localhost:3000/api/send

License

MIT License