Skip to content

Blazing fast, instant realtime GraphQL APIs on Postgres with fine grained access control, also trigger webhooks on database events.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE-community
Notifications You must be signed in to change notification settings

tomjaguarpaw/graphql-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 instantly get a ready-to-use GraphQL API
  • Fine-grained access control: dynamic access control that integrates with your Auth
  • Light-weight & performant: ~15MB docker image; ~50MB 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

Please join our amazing community of developers and contributors:

Support & Troubleshooting

The documentation and community will help you troubleshoot most issues. However, if you have encountered a bug or need to get in touch with us, you can contact us using one of the following channels:

We are committed to fostering an open and welcoming environment in the community. Please see the Code of Conduct.

Contributing

Check out 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 [email protected] or using Intercom chat.

About

Blazing fast, instant realtime GraphQL APIs on Postgres with fine grained access control, also trigger webhooks on database events.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE-community

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 31.2%
  • JavaScript 28.3%
  • TypeScript 13.0%
  • Go 10.1%
  • Python 8.5%
  • CSS 2.5%
  • Other 6.4%