Skip to content

A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations

License

Notifications You must be signed in to change notification settings

better-t-stack/create-better-t-stack

Repository files navigation

Better-T-Stack

A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations

Quick Start

# Using npm
npx create-better-t-stack@latest

# Using bun
bun create better-t-stack@latest

# Using pnpm
pnpm create better-t-stack@latest

Features

  • ⚑️ Zero-config setup with interactive CLI wizard
  • πŸ”„ End-to-end type safety from database to frontend via tRPC
  • 🧱 Modern stack with React, Hono/Elysia, and TanStack libraries
  • πŸ“± Multi-platform supporting web, mobile (Expo), and desktop applications
  • πŸ—ƒοΈ Database flexibility with SQLite (Turso) or PostgreSQL options
  • πŸ› οΈ ORM choice between Drizzle or Prisma
  • πŸ”’ Built-in authentication with Better-Auth
  • πŸ“± Optional PWA support for installable web applications
  • πŸ–₯️ Desktop app capabilities with Tauri integration
  • πŸ“¦ Monorepo architecture powered by Turborepo

Repository Structure

This repository is organized as a monorepo containing:

Documentation

Visit better-t-stack.pages.dev for full documentation, guides, and examples.

Development

# Clone the repository
git clone https://github.com/better-t-stack/create-better-t-stack.git

# Install dependencies
bun install

# Start CLI development
bun dev:cli

# Start website development
bun dev:web

Contributors

Made with contrib.rocks.