Need advice about which tool to choose?Ask the StackShare community!
Hasura vs PostGraphile: What are the differences?
Developers describe Hasura as "An open source GraphQL engine that deploys instant, realtime GraphQL APIs on any Postgres database". An open source GraphQL engine that deploys instant, realtime GraphQL APIs on any Postgres database. On the other hand, PostGraphile is detailed as "Instant GraphQL API for your PostgreSQL database; use standalone or as a Node.js middleware; MIT-licensed OSS". Execute one command (or mount one Node.js middleware) and get an instant high-performance GraphQL API for your PostgreSQL database.
Hasura belongs to "Platform as a Service" category of the tech stack, while PostGraphile can be primarily classified under "Query Languages".
Some of the features offered by Hasura are:
- Stack-agnostic
- Cloud-agnostic
- Git push to deploy
On the other hand, PostGraphile provides the following key features:
- instant GraphQL schema via reflection over PostgreSQL database API
- compiles complex GraphQL queries into very few SQL statements resulting in high performance
- built entirely from plugins - heavily customisable
PostGraphile is an open source tool with 7.49K GitHub stars and 364 GitHub forks. Here's a link to PostGraphile's open source repository on GitHub.
Pros of Hasura
- Fast21
- Easy GraphQL subscriptions16
- Easy setup of relationships and permissions15
- Automatically generates your GraphQL schema14
- Minimal learning curve14
- No back-end code required12
- Works with new and existing databases12
- Instant production ready GraphQL11
- Great UX10
- Simple3
- Low usage of resources2
Pros of PostGraphile
- Postgres based authentication10
- Great developer support6
- Database first with no braking changes5
- Lightning fast5
- Simple to set up and scale4
- Bye bye Resolvers4
- Instant production ready GraphQL2
- Back to database first2
- Easy setup of relationships and permissions2
- 9 Automatically generates your GraphQL schema2
- Works with new and existing databases1
Sign up to add or upvote prosMake informed product decisions
Cons of Hasura
- Cumbersome validations2