How to Query a Database from Postman with Hasura
To query a database in Postman, you need a component in between that can expose the database via a REST or GraphQL API. Hasura can speak both.
Published in
5 min readDec 12, 2022
Step 1 — Create an Hasura account
Hasura comes in two flavors: cloud and on-prem (aka you install it). For this tutorial, I will be using the cloud version of Hasura. Additionally, the database I will be connecting to is publicly accessible with the proper credentials.
Go to https://cloud.hasura.io/ to create a new account.
Step 2 - Create a new project
After you confirm your email and log in, you should see a page similar to this one:
Click on Create a project to continue.
Next, make sure to select the Free Tier and create the project.