Add GraphQL-as-a-Service to Postgres-Based Apps With Hasura's Open Source GraphQL Engine

Hasura, a GraphQL-as-a-Service company, recently launched its open source GraphQL Engine which allows developers to migrate Postgres-based applications to GraphQL without having to write any backend code. The engine can also be used to quickly build scalable GraphQL Applications on Postgres.

The Hasura GraphQL engine adds GraphQL APIs to Postgres databases instantly, and it includes an API explorer that developers can use to create and view Postgres database tables. Developers can select and link the database tables they would like to use with GraphQL which allows them to move Postgres-based applications to GraphQL incrementally. Developers can use the admin UI (Hasura console) to build schema and run GraphQL queries.

The engine includes an access control system which allows developers to define access control rules, and the system can be integrated with auth backends like Auth0 using a webhook. Developers can define access rules using dynamic variables, and determine who gets access to the app and to what data.

"We're thrilled to open source Hasura's GraphQL Engine to further ease the adoption of GraphQL. Dollar-for-dollar no other solution comes close to matching Hasura's phenomenally high performance," said Tanmai Gopal, Co-founder and CEO of Hasura, in a prepared statement. "The GraphQL community can harness our lightweight GraphQL-as-a-Service engine and turbocharge any of their new or existing Postgres applications. Concurrently, for enterprises using Postgres, they can make a smooth, rapid transition over to GraphQL. Postgres is the first along a roadmap of other leading databases that Hasura intends to support in the future."

The complete Open Source GraphQL Engine is available on GitHub.

Be sure to read the next Database article: Microsoft Announces Public Preview of SQL Server 2019