Built by developers who hate boilerplate
Full-Stack CLI Tool
Ship Type-Safety
by Default.
better-ts-stack scaffolds production-ready TypeScript projects with modular architecture—Express, Prisma, MongoDB, Docker, and more. Zero configuration required.
terminal
npx better-ts-stack
Scaffolding your type-safe project...
Express + TypeScript configured
Database (Prisma/Drizzle) ready
Docker Compose configured
Done! Run `cd my-app && npm run dev`
Modular Architecture

Everything You Need.
Nothing You Don't.

Pick the modules you need. Each one is designed to work perfectly alone or together.

Backend Module

TypeScript backend with Express. Fully type-safe REST API with automatic validation using Zod. Hono support coming soon.

Prisma ORM

Type-safe database access with auto-generated types. Seamless integration with the backend module.

MongoDB + Mongoose

Better MongoDB support with Mongoose schemas. Full type inference for documents.

Docker Ready

Pre-configured Docker Compose setup. One command to spin up your entire dev environment.

Frontend Module

Full-stack Next.js integration. Pre-configured with Tailwind CSS, React 19, and modern tooling.

Auth Module

Optional JWT authentication with session management. Add auth to your project with one prompt.

How It Works

Built for Correctness

Every layer is type-safe. Every connection is validated. No more guessing—just shipping.

Data LayerType-safe
MongoDB + Prisma + Mongoose
Business LogicType-safe
TypeScript + Zod + JWT Auth
API LayerType-safe
Express + TypeScript
DeploymentType-safe
Docker + CI/CD
Types preserved across all layers

Ready-Made Templates. Zero Setup.

Pick your stack, choose your package manager (npm, pnpm, bun), and get a production-ready TypeScript project with Express backend, optional JWT authentication, and end-to-end type safety. No configuration needed.

Manual Setup

Hours of config, auth headaches, type mismatches.

better-ts-stack

One command, full stack, ready to ship.

Correctness First

If it compiles, it works. Catch errors at build time, not in production.

Modular Design

Use only what you need. Each module is independent and composable.

Zero Overhead

No runtime type checking. All safety happens at compile time.