Hasura Open Source

Hasura GraphQL Engine is an opensource product that connects to your databases & services and gives you a realtime GraphQL API, instantly.

Powerful queries out-of-the-box



Query across tables & views with powerful filtering, pagination and pattern search.
Insert Mutations

Insert Mutations

Insert single or multiple objects. Make upsert operations on conflict to simplify app logic.
Update Mutations

Update Mutations

Update objects based on a condition. Update to Increment/multiply directly.
Delete Mutations

Delete Mutations

Delete one object or in bulk based on a condition.
Remove old product tags & insert new tags
Fetch first 5 brands with top 10 products for each

Realtime with subscriptions & live-queries

Convert any GraphQL query to a live query by using subscriptions.
1) Setup a GraphQL subscription
2) As Postgres data changes...
Orders (postgres table)
3) The UI is updated
Order XX-57 (mobile/web UI)

Dynamic access control that integrates with your auth

  • ExpandCreate field-level allow & deny rules with dynamic variables.
  • ExpandCreate role-based schemas.
  • ExpandIntegrate with an existing auth system.

Restrict access in production to only pre-approved queries

Create a list of safe queries in an allow-list and configure Hasura to restrict access to only the queries in this list.

Write business logic backed by REST APIs

  • tickDefine custom queries and mutations.
  • tickBack it with business logic in REST APIs.
  • tickConnect the REST API output with rest of the graph without writing any code.
  • tickUse with Hasura permission system.

Merge Remote GraphQL schemas

  • tickUse remote schemas for custom business logic, delegating to HTTP APIs, etc.
  • tickSeamlessly merge remote schemas behind a single GraphQL API.
  • tickSupports GraphQL servers written in any language/framework, deployed anywhere.
  • tickBoilerplates available for popular languages and serverless platforms.

Trigger webhooks on database events

  • tickInvoke asynchronous business logic; Use with serverless.
  • tickBuild reactive UX with GraphQL subscriptions & live-queries.
  • tickPowered by native Postgres triggers for reliable capture & delivery of database events.
  • tickAvailable with live-demo apps, tutorials & boilerplates for serverless functions.

Add to an existing, live postgres database

Add Hasura to any existing postgres database as-is and expose select tables & views over GraphQL.
We took Gitlab CE (a complex rails + postgres application), hosted it on DigitalOcean and added GraphQL to it in just a few minutes. Check out the demo on the left!

Admin UI & Rails inspired schema migrations

As you use the UI to build and manipulate your GraphQL and database schema, Hasura automatically spits out migrations files that you can put in version control.

Query Performance Analysis