Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
Go to file
2018-07-11 17:37:49 +05:30
.circleci testing console tests in the ci (#83) 2018-07-11 17:32:29 +05:30
assets update readme and code of conduct (#108) 2018-07-11 17:37:49 +05:30
cli fix #96, when access-key is set, cli should use it to contact api (#100) 2018-07-11 14:58:53 +05:30
console testing console tests in the ci (#83) 2018-07-11 17:32:29 +05:30
scripts only deploy dev|release branches (#76) 2018-07-10 11:52:13 +00:00
server add contributing guidelines for server (#104) 2018-07-11 16:04:29 +05:30
.gitignore console: more tests (#35) 2018-07-04 18:27:56 +05:30
code-of-conduct.md update readme and code of conduct (#108) 2018-07-11 17:37:49 +05:30
CONTRIBUTING.md add contributing guidelines for server (#104) 2018-07-11 16:04:29 +05:30
LICENSE Add A-GPL license 2018-07-09 19:30:43 +05:30
README.md update readme and code of conduct (#108) 2018-07-11 17:37:49 +05:30

Hasura GraphQL Engine

Docs Release CircleCI Docker pull Docker image size

Chat on Discord Follow on Twitter

Hasura GraphQL Engine Banner

Hasura GraphQL Engine is a performant GraphQL server that provides ready-to-use GraphQL API over Postgres by auto-generating GraphQL schema and corresponding resolvers.

  • Make powerful queries: built-in filtering, pagination, and pattern search arguments and operators
  • Works with existing database: point it to an existing, living Postgres database to get instant GraphQL API
  • Fine-grained access control: dynamic access control that integrates with your auth
  • Light-weight & performant: 20MB docker image; ~60MB RAM @ 1000 req/s; multi-core aware
  • Dev friendly: admin UI & Rails-inspired schema migrations
  • Postgres ❤️: supports Postgres types (PostGIS/geo-location, etc.), turns views to graphs, trigger stored functions or procedures with mutations

Quickstart - Setup on Heroku

no credit-card required; sign-up may be required

  1. Click on the following button to deploy GraphQL Engine on Heroku and provision the free Postgres add-on:

    Deploy

  2. Open the admin console

    Visit https://<app-name>.herokuapp.com (replace <app-name> with your app name) to open the admin console.

  3. Make your first GraphQL query

    Create test tables and instantly run your first query. Follow this simple guide.

Other deployment methods

For Docker-based deployment and advanced configuration options, see deployment guides here.

Architecture

The Hasura GraphQL Engine fronts a Postgres database instance and can serve as an API Gateway for all data requests from client apps. It can be configured to work with your existing Auth middleware to handle access control to data using field-level rules with dynamic variables.

The GraphQL Engine is a standalone, multi-core aware component that can be scaled vertically and horizontally.

Hasura GraphQL Engine architecture

You can also place the engine behind a central GraphQL proxy that fronts multiple GraphQL APIs via schema stitching.

GraphQL Engine schema-stitched architecture

Client-side tooling

GraphQL Engine provides an HTTP API. This means you can use any client-side tool or library to query the endpoint. To fully leverage GraphQL, it is recommended that you use GraphQL specific client-side tooling like Apollo Client, Relay, etc. See awesome-graphql for a list of such tools.

Community

GraphQL Engine has a burgeoning community of amazing developers! Come join the community using your preferred means of communication:

We are committed to fostering an open and welcoming environment in the community. Please see the Code of Conduct (adapted from the Contributor Covenant).

Contributing

Checkout our contributing guide for more details.

License

GraphQL Engine is available under the GNU Affero General Public License v3 (AGPL-3.0). Why AGPL?.

Commercial licenses are available on request. Please feel free to contact us at build@hasura.io or hasura.io/help.