0.0
No commit activity in last 3 years
No release in over 3 years
Provides a configurable Graphiql endpoint for easy graphql api development.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Project Readme

GraphiqlRails

Gem Version Build Status

Integrates Graphiql with Rails.

Installation and Usage

Add this line to your application's Gemfile:

gem "graphiql_rails"

And then execute:

$ bundle install

Then in your routes.rb:

mount GraphiqlRails::Engine => "/graphiql_rails", defaults: { endpoint: "/path_to_graphql_endpoint" }

Then you can visit /graphiql_rails (or wherever you mounted the engine at) enjoy the full power of Graphiql.

Contributing

  1. Fork it
  2. Clone it locally
  3. cd into the project root
  4. bundle install
  5. appraisal install
  6. Run the specs with appraisal rake
  7. Create your feature branch (git checkout -b my-new-feature)
  8. Commit your changes (git commit -am 'Add some feature')
  9. Push to the branch (git push origin my-new-feature)
  10. Create a new Pull Request