mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
79 lines
2.3 KiB
Markdown
79 lines
2.3 KiB
Markdown
# Better-T-Stack
|
|
|
|
A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations
|
|
|
|

|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
# 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:
|
|
|
|
- **CLI**: [`create-better-t-stack`](apps/cli) - The scaffolding CLI tool
|
|
- **Documentation**: [`web`](apps/web) - Official website and documentation
|
|
|
|
## Documentation
|
|
|
|
Visit [better-t-stack.dev](https://better-t-stack.dev) for full documentation, guides, and examples.
|
|
|
|
## Development
|
|
|
|
```bash
|
|
# 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
|
|
```
|
|
|
|
## Want to contribute?
|
|
|
|
Just fork the repository and submit a pull request!
|
|
|
|
## Sponsors
|
|
|
|
<p align="center">
|
|
<img src="https://sponsors.amanv.dev/sponsors.png" alt="Sponsors" width="300">
|
|
</p>
|
|
|
|
## Star History
|
|
|
|
<a href="https://www.star-history.com/#AmanVarshney01/create-better-t-stack&Date">
|
|
<picture>
|
|
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=AmanVarshney01/create-better-t-stack&type=Date&theme=dark" />
|
|
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=AmanVarshney01/create-better-t-stack&type=Date" />
|
|
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=AmanVarshney01/create-better-t-stack&type=Date" />
|
|
</picture>
|
|
</a>
|