3 ms·
> - Apollo Server (GraphQL, Javascript/Typescript) > - Hasura (GraphQL frontend to PostgreSQL, translating GraphQL queries directly to SQL) I'm just getting st
by mariushn 6y ago
> - Apollo Server (GraphQL, Javascript/Typescript)
> - Hasura (GraphQL frontend to PostgreSQL, translating GraphQL queries directly to SQL)
I'm just getting started with GraphQL. Tried Graphile first (also on top of PostgreSQL), from various other comments I've read. I have a harder time with having the current auth logic (in nodejs) work, since most Graphile tutorials are with row level security. Not sure if I should move to RLS too.
What do you think about Graphile vs Apollo Server+Hasura?
- linkdd 6y agoHasura handles auth quite well (row level AND column level). See this doc[1]. But in general, I either let the reverse proxy handles auth so my backend doesn't have to do anything, or I use the ORY stack[2]. [1] - https://hasura.io/docs/latest/graphql/core/auth/index.html [2] - https://github.com/ory