This page contains a quickstart to help you get Hasura GraphQL Engine up and running with Postgres Container Apps on Crunchy Bridge. We recommend you start with the quickstart to get an understanding of container apps.
From the original project:
Hasura GraphQL Engine is a blazing-fast GraphQL server that gives you instant, realtime GraphQL APIs over Postgres, with webhook triggers on database events, and remote schemas for business logic.
Hasura helps you build GraphQL apps backed by Postgres or incrementally move to GraphQL for existing applications using Postgres.
Hasura with Postgres Container Apps Quickstart
First ensure you have Postgres Container Apps enabled with
CREATE EXTENSION pgpodman;. Once enabled you’ll need your DATABASE_URL from Crunchy Bridge to include in the command. To start your Hasura app you can run:
SELECT run_container('-dt -p 5433:8080/tcp -e HASURA_GRAPHQL_DATABASE_URL="<DATABASE_URL>" docker.io/hasura/graphql-engine');
Now you can visit your running Hasura GraphSQL Engine at your hostname:5433.