zenstack
Typescript toolkit on top of Prisma ORM, offering flexible and declarative Access Control Policy(Authorization/Permission) for RBAC/ABAC/PBAC/ReBAC with auto-generated type-safe APIs and frontend hooks. (by zenstackhq)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
nextjs-auth-postgres-template | zenstack | |
---|---|---|
1 | 46 | |
0 | 1,652 | |
- | 7.6% | |
10.0 | 9.5 | |
over 1 year ago | 2 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nextjs-auth-postgres-template
Posts with mentions or reviews of nextjs-auth-postgres-template.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-10.
-
How to Build a Production-Ready Todo App in One Next.js Project With ZenStack
npx create-next-app todo --use-npm -e https://github.com/zenstackhq/nextjs-auth-postgres-template
zenstack
Posts with mentions or reviews of zenstack.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-29.
- Show HN: ZenStack V2 – RLS alternative with declarative Auth rules in Prisma
-
Stories Behind ZenStack V2!
Support for Polymorphic Associations #430
-
The Many Ways Not to Build an API
Another strategy is to model access control declaratively and enforce it in the application layer. ZenStack (built above Prisma ORM) and Hasura are good examples of this approach. The following code shows how access policies are defined with ZenStack and how a secured CRUD API can be derived automatically.
-
Building an Admin Console With Minimum Code Using React-Admin, Prisma, and Zenstack
ZenStack is a toolkit built above Prisma that adds access control, automatic CRUD web API, etc. It unleashes the ORM's full power for full-stack development.
-
How Much Work Does It Take to Build a Programming Language?
We need to have some concrete language to build to help make sense of things. I always felt real-world examples are much more effective than toys, so I'll use the ZModel language that we're building at ZenStack as an example. It's a DSL used to model database tables and access control rules. To keep the post short, I'm going only to use a small set of features to demonstrate. Our goal will be to compile the following code snippet:
-
Modeling Authorization in Prisma - No Theory, Just Code
It's assumed that you know the basics of using Prisma. Prisma is an excellent ORM. But it doesn't have a built-in authorization solution. To supplement that, we'll use ZenStack throughout the samples. ZenStack is a toolkit that supercharges Prisma in many ways. One of the features is to provide a declarative way to model authorization. Its modeling language, ZModel, is a superset of Prisma Schema Language, so it should be easily understandable to people familiar with Prisma.
-
Tackling Polymorphism in Prisma
[Feature Request] Support for Polymorphic Associations #430
-
How to Do Authorization - A Decision Framework: Part 1
ZenStack takes a unique approach and solves the problem at a slightly higher level: the ORM. It is implemented above Prisma ORM and supports a wide variety of databases. It extends Prisma to allow modeling access policies inside the data schema and enforces them at runtime by injecting into Prisma queries.
-
Using AI to Generate Database Query Is Cool. But What About Access Control?
If you generate Prisma queries as we do here, you can inject extra filtering conditions into the generated query object. Here's the nice thing: ZenStack can do it automatically for you.
-
Is Next.js 13 + RSC a Good Choice? I Built an App Without Client-Side Javascript to Find Out
ZenStack for automatic enforcement of access control. ZenStack is a toolkit that extends Prisma ORM to allow you to model access policies and data schema in one place.