Skip to main content
Photo of DeepakNess DeepakNess

Access Prisma Postgres from frontend

Unproofread notes

Prisma has introduced a way to securely talk to your database directly from the frontend, without needing the API layer between the client and the database. It's still in early access and they have shared the details in this blog post, and below is what they say:

Security rules in Prisma Postgres allow you to:

  • have an authenticated connection to your database
  • define fine-grained permission rules in plain TypeScript

I think, this can be huge after this is properly tested by the community.

Comment via email