Data APIs on Postgres #HasuraBaaS

Hasura is a platform for rapidly building & deploying applications. Check it out at hasura.io.

Hasura comes built-in with a data service that allows clients to communicate with a Postgres database, via HTTP APIs in JSON. The power of Postgres, and the ease of JSON.

Any client with a HTTP library can use the data service, so most apps can be made completely ‘backend-less’. Think of it like a ‘BaaS’ but on Postgres 😍.

An intuitive query language

For eg: suppose you want to fetch each category (its name & description), and the top 5 articles in each category, this is what the query would look like:

JSON syntax for getting top 5 articles from each category

Model relationships as nested JSON

You can also create relationships between data models and do joins with simple syntax.

Create perfectly crafted RESTful endpoints

You can also create custom endpoints for common queries by using “query-templates”. You can create a complex query and then expose it as a neat RESTful endpoint.

High performance APIs

The Hasura data service is extremely fast.This is due to an efficient query compiler that does JSON aggregations on Postgres itself minimising serialisation/deserialisation overhead.

Hasura’s data APIs purr a smooth 5x faster than what you would typically write by hand. Check out comparisons and benchmarks.


Hasura’s data APIs help you build FAST by letting you get the most out of Postgres. Create native Postgres tables & views, get powerful client APIs.

Take Hasura for a spin at: https://hasura.io