Close
Layer (8)

Hasura GraphQL

By- Hasura (Version latestOS Ubuntu 18.04)

Description

Hasura GraphQL Engine lets you make powerful queries with built-in filtering, pagination, pattern search, bulk insert, update, delete mutations & subscriptions. You can also Trigger webhooks or serverless functions on Postgres insert/update/delete events. Comes with fine-grained dynamic access control that integrates with your auth system. This one-click setup also includes an empty Postgres database and automatic HTTPS from Let’s Encrypt using Caddy webserver.

Software Included

Getting started after deploying Hasura GraphQL

Hasura runs smoothly and can support thousands of users for your app on a 1GB RAM/1xCPU VM.
Once the Hasura GraphQL Engine one-click VM is ready, you can visit the VM IP to open the Hasura console. It may take a minute or so to start. On this UI, you can create tables & explore GraphQL APIs.

Follow these steps to run your first GraphQL query:

1- Open console: Visit the VM IP in a browser to open the Hasura console.

2- Create a table: Navigate to the Data tab on the console and:

       a- Create a table called profile

       b- Create a column called id with type (Integer auto-increment)

       c- Create a column called name with type (Text)

       d- Choose id as the primary key and click the Create button

1- Insert sample data: After creating the table, go to the Insert Row tab and insert some sample rows:

       a- Thor

       b- Iron Man

       c- Hulk

       d- Captain America

       e- Black Widow

1- Try out GraphQL: Switch to the GraphiQL tab on top and execute the following GraphQL query:

Support Details

Supported By: Hasura
Support URL: https://hasura.io/discord
Support Email: support@hasura.io