Documentation Index
Fetch the complete documentation index at: https://mintlify.com/amanvarshney01/create-better-t-stack/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Better-T-Stack visual builder provides an interactive web interface to configure your stack and generate the exact CLI command you need. It’s the easiest way to explore options and ensure compatibility.Accessing the stack builder
Via web browser
Visit better-t-stack.dev/new directly in your browser.Via CLI
Open the builder from your terminal:https://better-t-stack.dev/new in your default browser.
How it works
The stack builder guides you through configuration in a visual interface:Frontend selection
Choose one or more frontend frameworks:
- Web frameworks: TanStack Router, React Router, TanStack Start, Next.js, Nuxt, Svelte, Solid, Astro
- Native frameworks: Bare, Uniwind (NativeWind), Unistyles
- None (backend-only project)
Backend selection
Choose your backend framework:
- Hono
- Express
- Fastify
- Elysia
- Convex
- Self (fullstack mode - Next.js/Nuxt/SvelteKit API routes)
- None (frontend-only project)
Runtime selection
Choose your JavaScript runtime:
- Bun (recommended for performance)
- Node.js
- Cloudflare Workers (edge runtime)
- None (Convex backend or no backend)
Runtime selection is filtered based on your backend choice. Cloudflare Workers requires specific backends.
Database & ORM
Choose your database and ORM:
- Databases: SQLite, PostgreSQL, MySQL, MongoDB, None
- ORMs: Drizzle, Prisma, Mongoose, None
Authentication
Choose your auth provider:
- Better-Auth (self-hosted, open source)
- Clerk (managed service)
- None
Addons
Select optional addons:
- Monorepo: Turborepo
- Tooling: Biome, Oxlint, Ultracite, Husky, Lefthook
- Documentation: Starlight, Fumadocs
- Extensions: PWA, Tauri, OpenTUI, WXT
- AI: Ruler, Skills, MCP
Database setup
Choose your database setup provider:
- Turso (SQLite)
- Neon (PostgreSQL)
- Supabase (PostgreSQL)
- Prisma PostgreSQL
- PlanetScale (MySQL)
- MongoDB Atlas
- Cloudflare D1 (SQLite)
- Docker
- None (manual setup)
Features
Real-time validation
The builder validates your selections in real-time:- Incompatible options are disabled or hidden
- Compatibility warnings appear when needed
- Required selections are highlighted
Copy command
Once your stack is configured:- Click Generate Command
- Review the generated command
- Click Copy to copy to clipboard
- Paste and run in your terminal
Shareable URLs
The builder updates the URL with your selections. You can:- Bookmark your favorite configurations
- Share URLs with your team
- Return to the same configuration later
Compare options
Hover over any option to see:- What’s included
- Compatibility notes
- Links to documentation
Example workflows
Quick full-stack app
Choose defaults
The builder suggests sensible defaults:
- Frontend: TanStack Router
- Backend: Hono
- Runtime: Bun
- Database: SQLite
- ORM: Drizzle
Serverless edge app
Choose Cloudflare Workers
Select:
- Backend: Hono
- Runtime: Cloudflare Workers
- Database: None (or D1 if needed)
Mobile + web monorepo
Tips
Use the builder to learn compatibility
Use the builder to learn compatibility
Even if you prefer the CLI, use the builder to discover which combinations work together. It enforces the same validation rules as the CLI.
Start simple, add later
Start simple, add later
Start with core features in the builder, then use
create-better-t-stack add to add more addons after project creation.Save your configurations
Save your configurations
Bookmark or save URLs for project templates you use frequently:
- Your default full-stack setup
- Your preferred API-only configuration
- Your mobile app template
Check the docs for details
Check the docs for details
The builder shows high-level options. Check the full documentation for detailed configuration of each option:
Next steps
CLI reference
Learn all CLI commands and flags
Compatibility guide
Understand valid stack combinations
Quickstart
Get started with your first project
Examples
Explore built-in example apps