Skip to main content
Version: 3.0 Alpha

Welcome

Welcome to ZenStack - the modern data layer for your TypeScript application!

ZenStack is built with the belief that most applications should use the data model as its center pillar. If that model is well-designed, it can serve as the single source of truth throughout the app's lifecycle, and be used to derive many other aspects of the app. The result is a smaller, more cohesive code base that scales well as your team grows while maintaining a high level of developer experience.

Inside the package you'll find:

  • An intuitive schema language

    That helps you model data, relation, access control, and more, in one place. 🔗

  • A powerful ORM

    With awesomely-typed API, built-in access control, and unmatched flexibility. 🔗

  • A Query-as-a-Service layer

    That provides a full-fledged data API without the need to code it up. 🔗

  • Utilities

    For deriving artifacts like Zod schemas, frontend hooks, OpenAPI specs, etc., from the schema. 🔗

ZenStack originated as an extension to Prisma ORM. V3 is a complete rewrite that removed Prisma as a runtime dependency and replaced it with an implementation built from the scratch ("scratch" = Kysely 😆). On its surface, it continues to use a "Prisma-superset" schema language and a query API compatible with PrismaClient.

Comments
Feel free to ask questions, give feedback, or report issues.

Don't Spam


You can edit/delete your comments by going directly to the discussion, clicking on the 'comments' link below