dánwòdánwò

Examples

Example projects

Small apps with a real backend and emulated providers, each tested end to end by danwo with no real keys.

Each example is a small app with a backend, at least one emulated provider, an invariant that reads the database and the provider, and a fault matrix. None needs a real key or an account.

Starters

Standalone projects you can copy out of the repository. Each installs danwo from npm.

AI chat with tools

A support assistant on Next.js and the AI SDK: it streams answers through the Vercel AI Gateway, looks orders up and opens tickets in Postgres, and emails a copy through Resend, tested against scripted and faulted model answers with no model key.

Next.js App RouterAI SDKVercel AI GatewayPostgresTailwind CSS

Emulates: Model APIs, Resend · Details · Source

Login with Better Auth

Self-hosted sign-in with Better Auth: a Vite and React app on a Hono API and Postgres, with emailed codes through Resend, Google and GitHub sign-in, a password with a confirmed email, linked accounts and signed-in devices.

ViteReact RouterHonoBetter AuthPostgres

Emulates: Resend, Google, GitHub · Details · Source

Login with Clerk

Signing in with Clerk on Next.js: Clerk's own components for sign-up and sign-in by emailed code or Google, organizations and invitations, and the app's users in Postgres from Clerk's webhooks.

Next.js App Router@clerk/nextjsPostgresTailwind CSS

Emulates: Clerk, Google · Details · Source

Commerce

A small shop selling mugs, notebooks and prints: a Next.js storefront and admin, a Hono API on Postgres, and Stripe Checkout, Resend receipts and S3 pictures.

Next.js App RouterHonoPostgresDrizzleTailwind CSS

Emulates: Stripe, Resend, S3 and Tigris · Details · Source

Background jobs

A team digest sent by background jobs on Inngest: a React page, a Hono API on Postgres, and a worker whose cron, fan-out, retries and onFailure send through Resend and bill through Stripe.

InngestHonoPostgresDrizzleViteReact

Emulates: Resend, Stripe · Details · Source

SaaS with integrations

Relay, a team-notes app: workspaces on Clerk organizations, a Stripe trial and billing, Slack and Google Calendar connected by OAuth, live notes over Pusher, and Inngest jobs that send email through Resend.

TanStack StartHonoInngestPostgresDrizzleTailwind CSS

Emulates: Clerk, Stripe, Slack, Google, Pusher, Resend · Details · Source

Next.js waitlist

A waitlist on Next.js: the form saves an email to Postgres and sends a welcome email through Resend.

Next.js App RouterPostgresTailwind CSS

Emulates: Resend · Details · Source

The repository's own

Workspaces of the danwo repository, which its CI tests on every pull request.

Shop

A small app that sells credits through Stripe Checkout; danwo tests itself against it.

Node.js

Emulates: Stripe · Details · Source

Shop on Android and iOS

An Expo app that buys credits through Stripe Checkout in a Custom Tab or a Safari view; danwo tests it on an Android emulator or an iOS Simulator.

ExpoReact NativeAndroidiOS

Emulates: Stripe · Details · Source

Shop with Playwright

The shop's purchase test written for Playwright Test, with danwo's emulators, invariant and fault matrix.

Playwright TestNode.js

Emulates: Stripe · Details · Source

Run a starter

Copy the folder, install, and run its tests. Each starter's page says what it needs, such as Docker:

cd with-next
npm install
npx @danwo/cli test

Run one of the repository's own

Install once at the root of the repository, then run its scripts from its folder:

bun install
cd examples/shop
bun run test:e2e

On this page

Run it on every pull request

A GitHub check and one comment per pull request, with the flight records attached.

Set up CI