Skip to content

CruzJS

Build production-ready TypeScript apps with type-safe APIs, dependency injection, multi-tenant auth, and 124+ UI components. One framework, any cloud.

CruzJS eliminates the gap between idea and production. Instead of wiring together a dozen libraries, you get a single coherent stack where every layer — database to UI — is designed to work together.

Type-Safe APIs

End-to-end type safety with tRPC. Define a procedure on the server, call it from the client — your IDE autocompletes the response shape and catches mismatches at compile time. No codegen, no REST boilerplate.

124+ UI Components

Production-grade React component library with zero external dependencies. Primitives, forms, layouts, data tables, marketing blocks, and more — all themed with CSS variables, accessible, and mobile-responsive.

Multi-Tenant Auth

Authentication, organizations, roles, and permissions out of the box. Session-based auth, RBAC (Owner, Admin, Member, Viewer), invitation flows, and audit logging — every endpoint scoped to the current org.

Deploy Anywhere

Cloudflare-first with native D1, KV, R2, and Workers AI. Runtime adapters for AWS, GCP, Azure, DigitalOcean, and Docker. Your code stays the same — only the adapter changes.

DI Container

Inversify-powered dependency injection keeps services testable and decoupled. @Injectable() classes, @Module() composition, constructor injection. Swap implementations for testing without changing a line.

One CLI

cruz dev starts your server. cruz db generate creates migrations. cruz deploy production ships your app. Scaffold Workers, Workflows, and Queue consumers with cruz new. No context-switching.

React Router v7

File-based routing, SSR, loaders, and actions with streaming and progressive enhancement.

Drizzle ORM

Type-safe SQL, automatic migrations, and Drizzle Studio. D1 in production, SQLite locally.

tRPC

Remote procedure calls with full TypeScript inference. No runtime surprises.

Inversify

Industrial-strength DI — constructor injection, module composition, singleton and transient scoping.