Zurück zum Ranking

zenstackhq/zenstack

TypeScriptzenstack.dev

Modern data layer for TypeScript apps - type-safe ORM, built-in access control, automatic query services

fullstacknextjsormauthorizationprismaaccess-controlapiopenapirlssaasjavascriptauth
Sterne-Wachstum
Sterne
2.9k
Forks
148
Wochenwachstum
Issues
171
1k2k
Jan. 2023März 2024Mai 2025Juli 2026
Artefaktenpmnpm install zenstack
README
ZenStack

Modern Data Layer for TypeScript Apps

What's ZenStack

Read full documentation at 👉🏻 https://zenstack.dev/docs.

ZenStack is a TypeScript database toolkit for developing full-stack or backend Node.js/Bun applications. It provides a unified data modeling and query solution with the following features:

  • 🔧 Modern schema-first ORM that's compatible with Prisma's schema and API
  • 📊 Versatile API - high-level ORM queries + low-level Kysely query builder
  • 🔐 Built-in access control and data validation
  • 🚀 Advanced data modeling patterns like polymorphism
  • 🧩 Designed for extensibility and flexibility
  • ⚙️ Automatic CRUD web APIs with adapters for popular frameworks
  • 🏖️ Automatic TanStack Query hooks for easy CRUD from the frontend
  • 💎 Zod schema generation

What's New in V3

ZenStack V3 is a major rewrite. It replaced Prisma ORM with its own ORM engine built on top of Kysely while keeping a Prisma-compatible query API. This architecture change brings the level of flexibility that we couldn't imagine in previous versions. Please check this blog post for why we made this bold decision.

Even without using advanced features, ZenStack offers the following benefits as a drop-in replacement to Prisma:

  1. Pure TypeScript implementation without any Rust/WASM components.
  2. More TypeScript type inference, less code generation.
  3. Fully-typed query-builder API as a better escape hatch compared to Prisma's raw queries or typed SQL.

Try It Now

Open in StackBlitz

Installation

1. Creating a new project

Use the following command to scaffold a simple TypeScript command line application with ZenStack configured:

npm create zenstack@latest my-project

2. Setting up an existing project

Or, if you have an existing project, use the CLI to initialize it:

npx @zenstackhq/cli@latest init

3. Setting up manually

Alternatively, you can set it up manually:

npm install -D @zenstackhq/cli
npm install @zenstackhq/schema @zenstackhq/orm

Then create a zenstack folder and a schema.zmodel file in it.

Documentation

https://zenstack.dev/docs/

Sponsors

Thank you for your generous support!

Current Sponsors

Suhyl
Suhyl
Marblism
Marblism
Mermaid Chart
Mermaid Chart
CodeRabbit
CodeRabbit
Johann Rohn
Johann Rohn

Previous Sponsors

Benjamin Zecirovic
Benjamin Zecirovic
Ulric
Ulric
Fabian Jocks
Fabian Jocks

Community

Join our discord server for chat and updates!

Contributors

Thanks to all the contributors who have helped make ZenStack better!

Source

Docs

License

MIT

Ähnliche Repositories
Asabeneh/30-Days-Of-Python

The 30 Days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than 100 days. Follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw

PythonPyPI30-days-of-pythonpython
68.8k12.8k
reflex-dev/reflex

🕸️ Web apps in pure Python 🐍

PythonPyPIApache License 2.0pythonframework
reflex.dev
28.7k1.7k
TanStack/router

🤖 A client-first, server-capable, fully type-safe router and full-stack framework for the web (React and more).

TypeScriptnpmMIT Licensereactrouter
tanstack.com/router
14.8k1.8k
blitz-js/blitz

⚡️ The Missing Fullstack Toolkit for Next.js

TypeScriptnpmMIT Licensereactreactjs
blitzjs.com
14.1k809
phodal/growth-ebook

Growth Engineering: The Definitive Guide。全栈增长工程师指南

HTMLOthergrowthphodal
growth.phodal.com
7.8k1.2k
t3dotgg/stripe-recommendations

How to implement Stripe without going mad

MIT Licensefullstacknextjs
6.4k301
livebud/bud

The Full-Stack Web Framework for Go

JavaScriptnpmMIT Licenseframeworkfull-stack
5.6k176
alephjs/aleph.js

The Full-stack Framework in Deno.

TypeScriptnpmMIT Licensedenoreact
aleph.deno.dev
5.2k164
remult/remult

Full-stack CRUD, simplified, with SSOT TypeScript entities

TypeScriptnpmMIT Licensetypescriptpostgresql
remult.dev
3.2k156
analogjs/analog

The fullstack meta-framework for Angular. Powered by Vite and Nitro

TypeScriptnpmMIT Licenseangularvite
analogjs.org
3.2k327
aspen-cloud/triplit

A full-stack, syncing database that runs on both server and client. Pluggable storage (indexeddb, sqlite, durable objects), syncs over websockets, and works with your favorite framework (React, Solid, Vue, Svelte).

TypeScriptnpmGNU Affero General Public License v3.0crdtdatabase
triplit.dev
3.1k102
SynkraAI/aiox-core

Synkra AIOS: AI-Orchestrated System for Full Stack Development - Core Framework v4.0

JavaScriptnpmOtheragentsai
github.com/allfluence/aios-core
3.1k933