Hasura GraphQL Engine gives you blazing fast instant GraphQL APIs on Postgres.
To deploy Hasura on Heroku with Heroku Postgres addon, click the button below:
On the Heroku Create New App page that opens, optionally give a name and then choose a region, and then click the "Deploy app" button. Heroku Postgres addon is automatically provisioned and configured with GraphQL Engine.
Once the app is successfully deployed, you can click the "View" button to see the Console for Hasura GraphQL Engine, where you can create tables, browse data and try out GraphQL queries etc.
By default, the GraphQL endpoints and the console interface has open permissions and is accessible to everyone. You can secure this by adding an
HASURA_GRAPHQL_ACCESS_KEY environment variable.
Under "Manage your app", click on "Settings" tab and add a config var with your desired access key.
Hasura can also take care of your database migrations. Install Hasura CLI and configure it to contact the Heroku endpoint.
curl -L https://cli.hasura.io/install.sh | bash
For more details, checkout docs.