Files
stanza/apps/web/content/docs/index.mdx
T
2026-05-22 18:37:24 -04:00

1.8 KiB

title, description
title description
Introduction Assemble modular full-stack TypeScript monorepos with stanza.

stanza is a shadcn-style CLI for assembling modular full-stack TypeScript monorepos. Pick a framework, styling, database, ORM, and auth — stanza vendors idiomatic code directly into your repo, with no runtime dependency to carry around.

Why stanza

  • add works after init. Run stanza add on an existing project. It reads your stanza.json manifest, resolves peer constraints, and picks the right adapter for your stack — so adding auth to a Next + Drizzle app writes different code than adding it to a TanStack Start + Prisma app.
  • Your code, vendored. Generated files land in your repo verbatim. There's no @stanza/runtime package to install, and nothing to upgrade out from under you — the code is yours to edit.
  • Open registry. Modules are plain static JSON. The CLI ships with a default registry, but you can point it at your own host with STANZA_REGISTRY and serve custom modules.

How it fits together

You choose modules across a small set of categoriesframework, styling, db, orm, auth, tooling, testing. stanza scaffolds a clean monorepo, vendoring each module's templates, dependencies, and environment variables into the right place: app shell code into your app, data and auth layers into their own workspace packages. Later, stanza add and stanza remove layer modules in and out without you hand-editing the wiring.

Next steps

  • Getting started — create your first project and add a module.
  • Concepts — the mental model: categories, vendoring, peers, and the manifest.
  • CLI reference — every verb, flag, and environment variable.

Or skip ahead and assemble a stack visually with the builder.