https://github.com/resend/resend-next-server-actions-example
https://github.com/resend/resend-next-server-actions-example
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/resend/resend-next-server-actions-example
- Owner: resend
- License: mit
- Created: 2023-09-17T15:46:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T23:21:16.000Z (over 1 year ago)
- Last Synced: 2025-04-13T05:45:58.234Z (about 1 year ago)
- Language: TypeScript
- Size: 37.1 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Resend with Node.js
This example shows how to use Resend with Next.js Server Actions.
## Prerequisites
To get the most out of this guide, you’ll need to:
* [Create an API key](https://resend.com/api-keys)
* [Verify your domain](https://resend.com/domains)
## Instructions
1. Replace `re_123456789` on `index.ts` with your API key.
2. Install dependencies:
```sh
npm install
# or
yarn
```
3. Execute the following command:
```sh
npm run dev
```
## License
MIT License