Giter Club home page Giter Club logo

graphile-engine's Introduction

Graphile Engine

Patreon sponsor button Discord chat room Package on npm MIT license Follow

Graphile Engine enables you to build high-performance easily-extensible GraphQL schemas by combining plugins.

NOTE: You might be looking for PostGraphile which is Graphile Engine applied to a PostgreSQL database.

Crowd-funded open-source software

To help us develop this software sustainably under the MIT license, we ask all individuals and businesses that use it to help support its ongoing maintenance and development via sponsorship.

And please give some love to our featured sponsors ๐Ÿคฉ:

Chad Furman
Chad Furman
Timescale
Timescale

Monorepo contents

graphile-build: The core of Graphile Engine: a plugin system that enables you to build a GraphQL schema out of plugins with advanced performance capabilities enabled via GraphQL look-ahead functionality.

graphile-build-pg: A selection of graphile-build plugins related to PostgreSQL: schema introspection, generation of fields and types for all tables, computed columns, query procedures, etc - if there's certain features you don't want, simply don't use that plugin!

graphile-utils: A collection of helper utilities to make writing graphile-build plugins easier.

postgraphile-core: Contains the GraphQL schema functionality of PostGraphile, does not contain the web layer.

graphql-parse-resolve-info: Parses a GraphQLResolveInfo object into a tree of the fields that are being requested to enable optimisations to your GraphQL schema (e.g. we use it in graphile-build-pg to determine which fields are required from the SQL database).

Brief History

Proof of concept was built by @Benjie in 2017, growing out of a need for greater performance, easier extensibility and greater customisation in PostGraphQL. Over the next year thanks to the input of the community and ongoing development and testing, Graphile Engine has matured into the production-ready system it is today.

Development

Below is a quick-start, for more detailed instructions, please see the CONTRIBUTING.md doc in PostGraphile.

yarn
yarn lerna bootstrap
yarn watch

yarn watch will keep monitoring and compiling the babel files, so open another terminal to run the tests:

(Note: before you can run the tests, you'll need to configure your PostgreSQL server to support logical decoding for our live queries tests. See the @graphile/lds README for how to enable wal_level = logical.)

createdb pggql_test
createdb pubsub_test
export TEST_DATABASE_URL="postgres:///pggql_test"
yarn lerna run test

If the above succeeds, you're good to go! If not, please try again after running yarn install --force and always feel free to reach out via our discord chat on the #core-development channel.

Working with Docker

If you want to work in a Docker environment you can follow the instructions on the wiki.

graphile-engine's People

Contributors

0ff avatar alexppxela avatar angelosarto avatar benjie avatar bradleyayers avatar d3k4r avatar eymaddis avatar farant avatar ganlub avatar garcianavalon avatar jgj avatar m0ar avatar mathroc avatar mattbretl avatar michaelbeaumont avatar mlipscombe avatar nil1511 avatar nilkanthjp avatar none23 avatar pepijnverburg avatar petetnt avatar purge avatar rudism avatar singingwolfboy avatar soutot avatar speller avatar syndesis avatar timhanlon avatar tinymarsracing avatar wieseljonas avatar

Watchers

 avatar

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.