graphql-ruby

Ruby implementation of GraphQL

Github stars Tracking Chart

graphql

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

Main metrics

Overview
Name With Ownerrmosolgo/graphql-ruby
Primary LanguageRuby
Program languageRuby (Language Count: 9)
Platform
License:MIT License
所有者活动
Created At2015-02-05 04:11:22
Pushed At2025-05-05 15:03:29
Last Commit At2025-05-05 11:03:24
Release Count391
Last Release Namev2.5.6 (Posted on 2025-05-05 10:56:15)
First Release Namev0.1.0 (Posted on 2015-07-11 14:32:43)
用户参与
Stargazers Count5.4k
Watchers Count81
Fork Count1.4k
Commits Count10.6k
Has Issues Enabled
Issues Count2490
Issue Open Count44
Pull Requests Count2397
Pull Requests Open Count10
Pull Requests Close Count360
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private