AI-native, batteries-included full-stack TypeScript SaaS starter: standardised patterns and one obvious way to build, so you and your agents work without guesswork.
Monorepo template with API (Hono + oRPC + Drizzle + better-auth) and web (Vite + TanStack Start SPA + TanStack Router + shadcn + Tailwind v4) apps, plus a plugin system that merges feature add-ons into the template.
The CLI scaffolds the template in one of two shapes:
- PostgreSQL full-stack —
apps/api(Hono + oRPC + Drizzle) +apps/web(TanStack Start), end-to-end types from API → web. - Web-only —
apps/webonly (TanStack Start landing + server functions); noapps/api, backend logic lives increateServerFnhandlers.
agent_docs/create-plugin.md— How to create a plugin (read before building plugins)PLUGINS.md— Plugin system overview + canonical plugin catalog
template/agent_docs/api_resource_and_endpoint_workflow.md— Resource/endpoint convention, endpoint entry point + global middleware registry + per-resource ownership gates, transactions, event hookstemplate/agent_docs/web_pages_and_data_access.md— File routes, oRPC client, useApiQuery/Mutation/Form, AppDrawer + Table widgetstemplate/agent_docs/workflows_dev_build_test.md— Commands for dev/build/codegen/migratetemplate/agent_docs/common_failure_modes.md— Known pitfalls and fixes
template/apps/api/scripts/codegen-router.ts— Auto-generatessrc/router.ts+src/contract.tsfromresources/*/endpoints/*.tstemplate/apps/api/scripts/codegen-db.ts— Auto-generatessrc/db.tswith typedDbService<typeof t, typeof rawDb.query.t>(relations generic) wrappers +transaction()+ event-bus hookstemplate/scripts/plugin.ts— Plugin CLI (install,uninstall,list,dev)template/apps/web/vite.config.ts— TanStack Start plugin (tanstackStart({ spa: { … } }))template/apps/web/src/routes/__root.tsx— Root route withhead,shellComponent, providerstemplate/apps/web/src/services/api-client.service.ts— oRPC client (stable-identity proxy +ORPC_PATHsymbol for query keys)template/apps/web/src/hooks/use-api.hook.ts—useApiQuery,useApiMutation,useApiFormtemplate/packages/db/src/service.ts—DbService<T>with mutation event hooks
template/— The Ship template (API + web monorepo). Whatcreate-ship-appscaffolds.plugins/— Plugin directories:postgres,auth-starter,admin,notes,ai-chat,mailer,cloud-storage.template/plugin-dev-server/— Gitignored merge target forpnpm plugin:dev.packages/create-ship-app/— The CLI that bootstraps a new project from the template.