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

Queries

Queries

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.
Query
Remove old product tags & insert new tags
Query
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
Subscription
2) As Postgres data changes...
Orders (postgres table)
order_idpaymentdispatched
XX-57trueNULL
3) The UI is updated
Order XX-57 (mobile/web UI)
Payment
Delivery...

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

  • ExpandDefine custom queries and mutations.
  • ExpandBack it with business logic in REST APIs.
  • ExpandConnect the REST API output with rest of the graph without writing any code.
  • ExpandUse with Hasura permission system.

Merge Remote GraphQL schemas

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

Trigger webhooks on database events

  • ExpandInvoke asynchronous business logic; Use with serverless.
  • ExpandBuild reactive UX with GraphQL subscriptions & live-queries.
  • ExpandPowered by native Postgres triggers for reliable capture & delivery of database events.
  • ExpandAvailable 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

Try it out in 30 seconds

Our events and conferences

Join our events and learn how our users are leveraging GraphQL

Upcoming Events
We’re launching a dedicated Enterprise conference this October. Join in to learn how GraphQL can help your organisation streamline your data access.
Community call banner
Featured
Hasura Community Call
Dots9:00 am PST
Last Thursday of every month
Join our monthly call and stay up-to-date on all things Hasura.
We’re launching a dedicated Enterprise conference this October. Join in to learn how GraphQL can help your organisation streamline your data access.
Join our monthly call and stay up-to-date on all things Hasura.