Modern TypeScript Monorepo

You want to ship.
You need this.

Beztack is a production-ready monorepo starter built on modern TypeScript tools. Stop configuring, start building.

pnpm create beztack

Built on Modern Tools

This project wouldn't be possible without the following gems

Vite logo
Vite
React logo
React
shadcn/ui logo
shadcn/ui
Nitro logo
Nitro
better-auth logo
better-auth
Drizzle logo
Drizzle
T3 Env
nuqs logo
nuqs
Zod logo
Zod
AI SDK logo
AI SDK
Next.js logo
Next.js
Fumadocs

Project Architecture

Three apps, one monorepo. Each optimized for its purpose.

React

apps/ui

Frontend SPA

ViteViteReactReact
  • Fast HMR & instant refresh
  • shadcn/ui components
  • Client-side routing
Nitro

apps/api

Backend Server

NitroNitroh3
  • Edge-ready & portable
  • File-based routing
  • Auto-imports & HMR
Next.js

apps/docs

Landing & Docs

Next.jsNext.jsFumadocs
  • SSR & static generation
  • MDX documentation
  • SEO optimized
Deploy anywhereVercel, Cloudflare, Node.js

Everything You Need

Ship faster with best practices and modern architecture built-in

Better Auth

Authentication Ready

Built-in auth with better-auth. Secure, flexible, and easy to customize for your needs.

Integrated Plugins

  • 2FA Support
  • Admin & Roles
  • Organizations
  • Polar Integration

Coming Soon

OAuthHave I Been PWNDMagic LinkMulti SessionPasskeyAPI Key
Drizzle

Type-Safe Database

Drizzle ORM with full TypeScript support. Write queries with confidence, autocomplete, and zero runtime overhead.

constusers=awaitdb
.select()
.from(users)
.where(...)
shadcn/ui

Modern UI Components

Beautiful, accessible components with shadcn/ui. Customizable and production-ready out of the box.

shadcn/uishadcn/ui
nuqs

URL State Management

Type-safe URL search params with nuqs. Synchronize component state with the URL effortlessly with full TypeScript support and SSR compatibility.

Type-safe parsers
const[page, setPage]=
useQueryState(
"page",
parseAsInteger
)

Built-in Parsers

StringIntegerFloatBooleanEnumArrayJSONDateTime
nuqsnuqs
Vercel AI SDK

AI Ready

Integrated Vercel AI SDK. Build AI-powered features with streaming, tool calling, and structured outputs.

Streaming responses
import{streamText}
from'@beztack/ai'
constresult=await
streamText({ ... })

Features

StreamingTool CallingStructured OutputMulti-ModalEmbeddingsReact Hooks
Vercel AI SDKAI SDK
Zod

TYPE_SAFE_ENV

Powered by T3 Env and Zod. Environment variables validated at build time with full TypeScript support.

Env
ZodZod
Vite

RAPID_DEVELOPMENT

Powered by Vite. Experience hot module replacement, instant server start, and optimized build times.

ViteVite
pnpmNX

MONOREPO_ARCHITECTURE

Powered by pnpm workspaces and NX. Efficient dependency management and task orchestration.

pnpmpnpm
NXNX

Ready to Build Something Amazing?

Join developers who are shipping faster with Beztack

pnpm create beztack