Stack Builder
Compatibility
Which options need which, as the stack builder's rules decide.
Each rule below is the sentence the builder shows when it dims an option or moves a choice that no longer fits. They are read from the builder's rules, so this page and the builder always agree.
29 of 29 rules
| Option | Needs |
|---|---|
| Apps | |
| Split apps | Only a Hono API is its own app; pick Hono as back end. |
| Back end | |
| TanStack Start | Start's server routes need the Start front end. |
| Next.js | Next route handlers need the Next front end. |
| API | |
| oRPC | Needs a back end. |
| tRPC | Needs a back end. |
| Database | |
| SQLite | Needs a back end. |
| Postgres | Needs a back end. |
| Database setup | |
| Cloudflare D1 | D1 is SQLite. D1 is bound to a Worker; pick the Workers runtime. |
| Turso | Turso is SQLite. |
| Docker | The Docker setup runs Postgres. |
| Supabase | Supabase hosts Postgres; pick Postgres as database. |
| Local file | A Worker has no local disk; use D1 or Turso. Postgres needs a server. |
| File storage | |
| Cloudflare R2 | R2 binds to a Worker; pick the Workers runtime. Needs a back end. |
| S3-compatible | Needs a back end. |
| Deploy | |
| Cloudflare | Cloudflare deploys the Workers runtime. |
| Docker | A Worker deploys to Cloudflare. |
| Vercel | Vercel hosts Next.js; pick Next as front end. Vercel runs Next on Node or Bun; pick one as runtime. |
| Deployables | |
| One deployable | Split apps ship as two. |
| Two deployables | Only a Hono API can ship apart. |
| Auth | |
| Better Auth | Needs a back end. Better Auth keeps users in a database. |
| Auth client | |
| Auth package | Only a monorepo has an auth package. |
| Payments | |
| Stripe | The Stripe plugin needs Better Auth. |
| Add-ons | |
| Fumadocs | Fumadocs renders on a server; pick Start or Next. |
| Vitest | The tests check the API's ports; pick a back end. The tests check each example's port; pick an example. |
| Turborepo | Only for a monorepo. |
| Nx | Only for a monorepo. |
| Examples | |
| Todo | Needs a back end. Stores todos; needs a database. |
| Notes | Notes belong to a user; needs auth. |
| Bookmarks | Bookmarks belong to a user; needs auth. |