Installing Hasura on MXLinux Latest

What is Hasura?

Hasura is an open-source engine that enables us to instantly deploy GraphQL APIs on new or existing databases by auto-generating GraphQL APIs using PostgresSQL database information.

Prerequisites

Steps for Installing Hasura

  1. Open terminal

  2. Pull the Hasura Docker image:docker pull hasura/graphql-engine:v1.3.3

    • The above command will pull Hasura’s V1.3.3 Dockerized image
  3. Verify that the image has been downloaded by executing the following command: sudo docker images

  4. Check the Hasura Container’s docker image that was downloaded in step 1 via: sudo docker run -p 8080:8080 -d hasura/graphql-engine:v1.3.3

    • The above command will launch the Hasura container by using the Hasura Docker image.
    • 8080 port is used by Hasura Backend.
  5. Invoke the container for the first time by using one of the following options:

    • Open your preferred browser
    • Navigate to localhost:8080
  6. Congrats! You have successfully installed Hasura!

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!