Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/resend/resend-vercel-example
This example shows how to use Resend with React Email + Vercel + Next.js
https://github.com/resend/resend-vercel-example
Last synced: 5 days ago
JSON representation
This example shows how to use Resend with React Email + Vercel + Next.js
- Host: GitHub
- URL: https://github.com/resend/resend-vercel-example
- Owner: resend
- License: mit
- Created: 2024-08-19T18:49:32.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-11T02:18:31.000Z (9 days ago)
- Last Synced: 2024-11-11T03:22:51.698Z (9 days ago)
- Language: TypeScript
- Size: 147 KB
- Stars: 22
- Watchers: 0
- Forks: 5
- Open Issues: 12
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Resend with React Email + Next.js + Vercel
This example shows how to use Resend with React Email + Next.js + Vercel.
## Deploy your own
Deploy the example using [Vercel](https://vercel.com):
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/resend/resend-vercel-example&project-name=resend-vercel-example&repository-name=resend-vercel-example&env=RESEND_API_KEY)
## Instructions
1. Define environment variables in `.env` file.
```sh
cp .env.example .env
```2. Install dependencies:
```sh
npm install
# or
pnpm install
```3. Run Next.js locally:
```sh
npm run dev
```4. Run React Email locally:
```sh
npm run email
```5. Submit form
## License
MIT License