Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rmosolgo/graphql-ruby-demo
- Owner: rmosolgo
- Created: 2015-02-16T18:56:01.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-11-21T20:44:01.000Z (about 7 years ago)
- Last Synced: 2024-11-25T15:22:48.130Z (17 days ago)
- Language: Ruby
- Size: 578 KB
- Stars: 221
- Watchers: 7
- Forks: 48
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-graphql - graphql-ruby-demo - Use graphql-ruby to expose a Rails app. (Examples / Ruby Examples)
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)