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
- MXLinux Latest [You can download it from https://mxlinux.org/download-links/]
- Docker installed on your machine. Follow our guide to install Docker on your MXLinux VM [https://docs.docker.com/engine/install/ubuntu/]
Steps for Installing Hasura
Open terminal
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
Verify that the image has been downloaded by executing the following command:
sudo docker imagesCheck 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.
Invoke the container for the first time by using one of the following options:
- Open your preferred browser
- Navigate to
localhost:8080
Congrats! You have successfully installed Hasura!