Skip to content
An example app using GraphQL-Pro's persisted queries
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
db
lib
log
public
storage
test
tmp
vendor
.babelrc
.gitignore
.postcssrc.yml
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package.json
yarn.lock

README.md

GraphQL Pro Operation Store Demo

A running demo of persisted operations with GraphQL-Ruby

You can trigger GraphQL queries via the UI:

operation-store-demo

But only the operation ID and variables are sent over the wire:

image

You can see the persisted queries in the GraphQL-Pro dashboard:

image

Setup & Dev

  • Clone the repo: git clone git@github.com:rmosolgo/graphql-pro-operation-store-example.git && cd graphql-pro-operation-store-example
  • Configure your graphql-pro credentials: bundle config gems.graphql.pro your-credential-here
  • Install dependencies: bundle install && yarn install
  • Prep the database: bundle exec rake db:migrate db:seed
  • Sync the operations: yarn run sync-graphql
  • Start the server: bundle exec rails s
  • Visit http://localhost:3000/
You can’t perform that action at this time.