{"id":50998813,"url":"https://github.com/imnotannamaria/resend-ecommerce","last_synced_at":"2026-06-20T12:03:24.757Z","repository":{"id":349225022,"uuid":"1191118507","full_name":"imnotannamaria/resend-ecommerce","owner":"imnotannamaria","description":"Open-source transactional email templates for e-commerce, built with React Email and Resend. Customize, preview, and send in minutes.","archived":false,"fork":false,"pushed_at":"2026-04-17T23:33:53.000Z","size":509,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-18T01:25:29.838Z","etag":null,"topics":["biome","geist","hono","husky","lint-staged","lucide-react","nextjs","radix-ui","react","react-email","react-hook-form","reactjs","resend","sonner","tailwindcss","typescript","vitest","zod"],"latest_commit_sha":null,"homepage":"https://resend-ecommerce.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imnotannamaria.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-24T23:55:21.000Z","updated_at":"2026-04-17T23:33:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/imnotannamaria/resend-ecommerce","commit_stats":null,"previous_names":["imnotannamaria/resend-ecommerce"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imnotannamaria/resend-ecommerce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnotannamaria%2Fresend-ecommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnotannamaria%2Fresend-ecommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnotannamaria%2Fresend-ecommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnotannamaria%2Fresend-ecommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imnotannamaria","download_url":"https://codeload.github.com/imnotannamaria/resend-ecommerce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnotannamaria%2Fresend-ecommerce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34568743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["biome","geist","hono","husky","lint-staged","lucide-react","nextjs","radix-ui","react","react-email","react-hook-form","reactjs","resend","sonner","tailwindcss","typescript","vitest","zod"],"created_at":"2026-06-20T12:03:23.978Z","updated_at":"2026-06-20T12:03:24.748Z","avatar_url":"https://github.com/imnotannamaria.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Resend Ecommerce\n\nOpen-source transactional email templates for e-commerce, built with [React Email](https://react.email) and [Resend](https://resend.com). Customize, preview, and send in minutes.\n\n## Email templates\n\nFour templates covering the full order lifecycle:\n\n| Template | Route | Description |\n|---|---|---|\n| Order Created | `/orders/created` | Sent immediately after purchase. Confirms order details, product summary, and estimated delivery. |\n| Order Confirmed | `/orders/confirmed` | Sent when the merchant confirms the order is being prepared and payment is verified. |\n| Order Shipped | `/orders/shipped` | Dispatched when the package leaves the warehouse. Includes tracking information. |\n| Order Delivered | `/orders/delivered` | Final notification confirming the package has been delivered to the customer. |\n\nEach template supports:\n- **Accent color** — preset palette or custom hex\n- **Border radius** — sharp, medium, or large\n- **Toggleable sections** — delivery date, payment details, tracking info, sign-off, social links\n- **Live preview** — see changes in real time as you fill the form\n- **Copy HTML** — renders server-side and copies raw HTML to clipboard\n- **Send** — sends a live test email via the Resend API\n\n## Getting started\n\n```bash\n# 1. Clone the repo\ngit clone https://github.com/imnotannamaria/resend-ecommerce.git\n\n# 2. Install dependencies\nnpm install\n\n# 3. Add your Resend API key to .env.local\nRESEND_API_KEY=re_xxxxxxxxx\n\n# 4. Start the dev server\nnpm run dev\n```\n\n## Tech stack\n\n- [Next.js 15](https://nextjs.org) — App Router\n- [React 19](https://react.dev) — UI library\n- [TypeScript](https://www.typescriptlang.org) — Type safety\n- [React Email](https://react.email) — Email rendering\n- [Resend](https://resend.com) — Email delivery\n- [Radix UI Themes](https://www.radix-ui.com/themes) — UI components\n- [Lucide React](https://lucide.dev) — Icons\n- [Geist](https://vercel.com/font) — Font\n- [Tailwind CSS v4](https://tailwindcss.com) — Styling\n- [React Hook Form](https://react-hook-form.com) + [Zod](https://zod.dev) — Form validation\n- [Hono](https://hono.dev) — API routes\n- [Sonner](https://sonner.emilkowal.ski) — Toast notifications\n- [Vitest](https://vitest.dev) — Tests\n- [Biome](https://biomejs.dev) — Linting and formatting\n- [Husky](https://typicode.github.io/husky) + [lint-staged](https://github.com/lint-staged/lint-staged) — Pre-commit hooks\n\n## Development\n\n```bash\nnpm run dev        # Start dev server\nnpm run test       # Run tests in watch mode\nnpm run test:run   # Run tests once\nnpm run lint       # Lint with Biome\nnpm run format     # Format with Biome\nnpm run check      # Lint + format\n```\n\n## Project structure\n\n```\napp/\n├── emails/           # Email templates (order-created, confirmed, shipped, delivered)\n├── orders/           # Preview pages for each email template\n├── components/       # Shared UI components (form fields, design panel, etc.)\n├── api/              # API routes for rendering HTML and sending emails\n└── __tests__/        # Unit and integration tests\n```\n\n## Pre-commit hooks\n\nHusky runs on every commit:\n1. **lint-staged** — Biome check on staged files\n2. **vitest run** — full test suite\n\n## Demo\n\n\u003e This live demo runs on my Resend API key — the **Send** action can only deliver to my address. Clone the repo and set your own `RESEND_API_KEY` to send to any inbox.\n\n---\n\nDeveloped by [Anna Maria](https://github.com/imnotannamaria)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimnotannamaria%2Fresend-ecommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimnotannamaria%2Fresend-ecommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimnotannamaria%2Fresend-ecommerce/lists"}