Skip to content
Ruby implementation of GraphQL
Ruby JavaScript Other
Branch: master
Clone or download
Latest commit bea0c18 Jan 31, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github doc(CONTRIBUTING) Add contributing.md Mar 13, 2017
benchmark update benchmark Sep 20, 2019
cop Fix autocorrect; fix lint errors Apr 10, 2019
gemfiles Add Rails 6 and Ruby 2.7 to CI. Jan 11, 2020
guides pro-1.12.2 Jan 22, 2020
javascript_client use the right content-type; js 1.6.8 Sep 18, 2019
lib 1.10.2 Jan 31, 2020
spec Fix tests Jan 31, 2020
.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 Add stable relation connection docs Jan 22, 2020
.rubocop.yml Support ruby 2.2 May 22, 2019
.travis.yml Try travis chrome addon Jan 20, 2020
.yardopts doc(guides) write some new guides Oct 19, 2016
Appraisals Add Rails 6 and Ruby 2.7 to CI. Jan 11, 2020
CHANGELOG-pro.md pro-1.12.2 Jan 22, 2020
CHANGELOG-relay.md Replace `-> (...)` with `->(...)` to be Ruby 1.9.3 compatible Oct 16, 2016
CHANGELOG.md 1.10.2 Jan 31, 2020
CNAME Add custom domain for gh-pages May 27, 2017
Gemfile Try adding a 2.2 build again May 23, 2019
Guardfile Try removing incompatible guard-bundler Jan 4, 2019
MIT-LICENSE Initial commit Feb 5, 2015
Rakefile Use racc 1.4.15 Jul 14, 2019
graphql-ruby.png feat(website) make new layout May 27, 2017
graphql-ruby.svg feat(website) make new layout May 27, 2017
graphql.gemspec Bump rake for ruby 2.7 warnings Jan 7, 2020
readme.md Correct link to Getting Started from readme.md Jun 22, 2019

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

You can’t perform that action at this time.