Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rmosolgo/graphql-ruby-demo

Use graphql-ruby to expose a Rails app
https://github.com/rmosolgo/graphql-ruby-demo

Last synced: about 22 hours ago
JSON representation

Use graphql-ruby to expose a Rails app

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/rmosolgo/graphql-ruby-demo.svg?branch=master)](https://travis-ci.org/rmosolgo/graphql-ruby-demo)

## graphql-ruby-demo
Shows an implementation of GraphQL via [graphql-ruby](https://github.com/rmosolgo/graphql-ruby).

- Try it on [heroku](http://graphql-ruby-demo.herokuapp.com/).
- Schema is defined in [`/app/graph`](https://github.com/rmosolgo/graphql-ruby-demo/tree/master/app/graph).
- Queries are served by [`queries#create`](https://github.com/rmosolgo/graphql-ruby-demo/blob/master/app/controllers/queries_controller.rb#L8).
- GraphiQL IDE is served by [graphiql-rails](https://github.com/rmosolgo/graphiql-rails)