Hacker News new | ask | show | jobs
by rco8786 998 days ago
> It supercharges Prisma ORM with a powerful access control layer and unleashes its full potential for full-stack development.

I’m sure this is a cool project (and I’m gonna dig in a bit more) but…come on. Let’s tone it down a bit.

edit

Ok dig in a bit more. Seems interesting. Is it fair to say this could be a self hosted alternative to supabase? The way that it uses row level security policies to enable querying the db directly from the client seems 1:1 with this, but with the additional benefit of getting to use Prisma.

1 comments

Hi, I'm the co-creator of this toolkit. Yes, in many ways ZenStack can be considered as an alternative to Supabase. The main differences are:

- At runtime, it's a library that runs inside your current framework (Next.js, Express, etc.), so no extra hosting is needed.

- It doesn't embed a database. You bring your own - any DB supported by Prisma.

One thing that goes beyond Supabase/PostgresRLS is that it supports column-level security as well. You can write rules to control CRUD permissions at the field level. This provides a much finer-grained control granularity.

And, yes, the DX of Prisma is a very good thing to have :D.

Very cool. Thanks for following up!