Skip to content

yeyouchuan/Buzhaolu-homepage

 
 

Repository files navigation

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. Make a curl request
curl -X POST http://localhost:3000/api/send

License

MIT License

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.4%
  • TypeScript 16.7%
  • CSS 1.9%