Resend starter module
Domain setup
Maps API keys, sender addresses, domain records, and webhook values into your app.
- Files
- 14
- Lines
- 1,101
- Languages
- Config + Markdown + TypeScript + JSON
Included files
This page lists paths and purposes, not source contents.
.env.example
Configuration required by this starter pack.
Config
38 lines
ADAPT.md
Give these instructions to the coding agent working in the buyer's TypeScript app.
Markdown
194 lines
app/api/resend/send-test/route.ts
Accepts the email-test form and sends one catalog welcome message.
TypeScript
87 lines
app/api/resend/verify/route.ts
Mounts the offline Resend pack health check at GET /api/resend/verify.
TypeScript
7 lines
app/api/resend/webhook/route.ts
Mounts the Resend delivery webhook at POST /api/resend/webhook.
TypeScript
9 lines
app/email-test/route.ts
Serves a clickable page for sending the starter's welcome email end to end.
TypeScript
43 lines
OPERATIONS.md
The code handles routine sends and events.
Markdown
89 lines
package.json
Configuration required by this starter pack.
JSON
16 lines
README.md
This starter gives a TypeScript, Next.js-style app a safe Resend email flow using plain Web `Request` and `Response` route handlers.
Markdown
130 lines
src/setup/check-domain.ts
Checks the Resend sending domain and prints DNS records that still need attention.
TypeScript
164 lines
src/setup/create-webhook.ts
Creates the Resend delivery webhook and prints its one-time signing secret.
TypeScript
169 lines
starter.json
Configuration required by this starter pack.
JSON
6 lines
TROUBLESHOOTING.md
Find the symptom and apply the fix first.
Markdown
129 lines
tsconfig.json
Configuration required by this starter pack.
JSON
20 lines
Questions about domain setup
Is this a Resend Next.js starter?
Yes. The pack is built for Next.js apps that need trusted email sending, reusable templates, receipts, contacts, delivery events, domain setup, and verification.