Live data from Hacker News

Show HN: Firebase2graphql – Migrate from Firebase to GraphQL on Postgres

github.com

11–12 of 12 posts

Re: Show HN: Firebase2graphql – Migrate from Firebase to GraphQL on Postgres

#11
post #9

How do you secure this data in Hasura? The article does not seem to mention security.

We provide an access control layer as a part of the GraphQL engine.

We took inspiration from Postgres's RLS and basically implemented it at the API layer so that the permissions/access control system is driven by your application auth and not your database auth.

This allows Hasura to give you role-based column/row level security integrated with any authentication provider or even a JWT.

More at the docs here: https://docs.hasura.io/1.0/graphql/manual/auth/index.html

Re: Show HN: Firebase2graphql – Migrate from Firebase to GraphQL on Postgres

#12
post #6

Is this Hasura GraphQL Engine open source? What's the business model? Are there any features missing if you don't pay anything? How does it get notified by PostgreSQL when the result of a query changes, since AFAIK PostgreSQL has no such built-in functionality? (it works if other apps change the database, right?)

> AFAIK PostgreSQL has no such built-in functionality

Postgres actually has basic pubsub via "LISTEN" and "NOTIFY". I was planning on trying out rethinkdb as a real-time database but found that approach instead described in this blog post:

http://blog.sagemath.com/2017/02/09/rethinkdb-vs-postgres.ht...

which also had a huge comment thread with related links(800+ upvotes):

https://news.ycombinator.com/item?id=13610146

Post reply on HN