Skip to content
A rails gem for mounting GraphQL Voyager
Ruby JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
lib
test
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
graphql-voyager-rails.gemspec

README.md

GraphQL Voyager Rails

Easily mount GraphQL Voyager on your rails app.

image

Usage

Simply mount GraphQL Voyager in your config/routes.rb:

if Rails.env.development?
  mount Graphql::Voyager::Rails::Engine, at: "/graphql-voyager", graphql_path: "/graphql"
end

Now you should be able to access GraphQL Voyager at: http://localhost:3000/graphql-voyager.

Installation

Add this line to your application's Gemfile:

gem 'graphql-voyager-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install graphql-voyager-rails

Contributing

Pull requests are always welcome.

License

The gem is available as open source under the terms of the MIT License.

Thanks

Gem originally based off on GraphiQL Rails and of course GraphQL Voyager.

You can’t perform that action at this time.