Giter Club home page Giter Club logo

graphql-engine-heroku's Introduction

Hasura GraphQL Engine on Heroku

Hasura GraphQL Engine gives you blazing fast instant GraphQL APIs on Postgres.

Deploy

To deploy Hasura on Heroku with Heroku Postgres addon, click the button below:

Deploy to heroku

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.

Heroku create new app

Console

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.

Console

Secure your endpoint

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.

Migrations

Hasura can also take care of your database migrations. Install Hasura CLI and configure it to contact the Heroku endpoint.

  • Mac/Linux:
    curl -L https://cli.hasura.io/install.sh | bash
  • Windows: installer

Read more

For more details, checkout docs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.