GitDeployHub

branchv/postgraphile-demo

github.com/branchv/postgraphile-demo ↗
Node.js API
5 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • DATABASE_URL secret Main database
  • DATABASE_AUTHENTICATOR Database role for postgraphile to switch from
  • DATABASE_VISITOR Database role to run all queries
  • SHADOW_DATABASE_URL secret Migration database to check integrity
  • ROOT_DATABASE_URL secret Migration database to drop others
Alternative Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/branchv/postgraphile-demo
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/branchv/postgraphile-demo
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/branchv/postgraphile-demo
Or deploy to a different host
← Try another repo