Ruby implementation of GraphQL
Clone or download
Permalink
Failed to load latest commit information.
.github doc(CONTRIBUTING) Add contributing.md Mar 13, 2017
benchmark before and after take cursors, not global IDs. Update the arg descrip… Jun 11, 2018
gemfiles Fix system and pg tests. Aug 10, 2018
guides Add docs for overriding policy lookup Sep 20, 2018
javascript_client js-1.4.1 Sep 19, 2018
lib Use inspect in error message to describe cursor Sep 18, 2018
spec Replace tests with a more direct test of #decode Sep 18, 2018
.codeclimate.yml Don't run code climate on tests Jul 30, 2018
.gitattributes Suppress showing diffs for .lock and .snap files in GitHub PRs Sep 20, 2017
.gitignore Merged Rails and SQLLite, removed PG for now. Aug 10, 2018
.rubocop.yml Merged Rails and SQLLite, removed PG for now. Aug 10, 2018
.travis.yml Fix system and pg tests. Aug 10, 2018
.yardopts doc(guides) write some new guides Oct 19, 2016
Appraisals Fix system and pg tests. Aug 10, 2018
CHANGELOG-pro.md pro-1.7.12 Aug 29, 2018
CHANGELOG-relay.md Replace `-> (...)` with `->(...)` to be Ruby 1.9.3 compatible Oct 16, 2016
CHANGELOG.md 1.8.9 Sep 14, 2018
CNAME Add custom domain for gh-pages May 27, 2017
Gemfile Updated Appraisals to break up dependencies. Aug 9, 2018
Guardfile Don't use a deterministic resolve; support direct-reference field types Apr 4, 2018
MIT-LICENSE Initial commit Feb 5, 2015
Rakefile Fix system and pg tests. Aug 10, 2018
graphql-ruby.png feat(website) make new layout May 27, 2017
graphql-ruby.svg feat(website) make new layout May 27, 2017
graphql.gemspec Re-add Jekyll plugins. Aug 10, 2018
readme.md Update authorization links" Aug 30, 2018

readme.md

graphql graphql-ruby

Build Status Gem Version Code Climate Test Coverage built with love

A Ruby implementation of GraphQL.

Installation

Install from RubyGems by adding it to your Gemfile, then bundling.

# Gemfile
gem 'graphql'
$ bundle install

Getting Started

$ rails generate graphql:install

After this, you may need to run bundle install again, as by default graphiql-rails is added on installation.

Or, see "Getting Started".

Upgrade

I also sell GraphQL::Pro which provides several features on top of the GraphQL runtime, including Pundit authorization, CanCan authorization, Pusher-based subscriptions and persisted queries. Besides that, Pro customers get email support and an opportunity to support graphql-ruby's development!

Goals

  • Implement the GraphQL spec & support a Relay front end
  • Provide idiomatic, plain-Ruby API with similarities to reference implementation where possible
  • Support Ruby on Rails and Relay

Getting Involved