ZenStack is built on top of Primsa ORM, extending it with an access control layer that simplifies the development of a web app's backend. By defining authorization policies and validation rules right inside the data schema, database client can automatically enforce these constraints at runtime bringing the following benefits:<p>- Centralized access control for better security and maintainability<p>- Less code to be written<p>The core of ZenStack is a transparent proxy around Prisma client which enforces access policies while keeping the APIs unchanged. It allows building the backend of new projects faster with minimal TS/JS code, and can also be easily adopted into existing projects.<p>Some other benefits it provides:<p>- Automatic CRUD APIs - RESTful, tRPC<p>- Generating client-side data access libraries (aka hooks) - SWR, TanStack Query<p>- A plugin system for 3rd party extension<p>Finally, ZenStack is not opinionated toward any stack or framework, allowing integration with the entire JavaScript and TypeScript ecosystem.<p>GitHub: https://github.com/zenstackhq/zenstack<p>Website: https://zenstack.dev
To save your effort copy/paste the link, here is the clickable link for the project:<p>GitHub: <a href="https://github.com/zenstackhq/zenstack">https://github.com/zenstackhq/zenstack</a><p>Website: <a href="https://zenstack.dev/" rel="nofollow noreferrer">https://zenstack.dev/</a>