https://github.com/rmosolgo/graphql-pro-operation-store-example
An example app using GraphQL-Pro's persisted queries
https://github.com/rmosolgo/graphql-pro-operation-store-example
Last synced: 3 months ago
JSON representation
An example app using GraphQL-Pro's persisted queries
- Host: GitHub
- URL: https://github.com/rmosolgo/graphql-pro-operation-store-example
- Owner: rmosolgo
- Created: 2018-08-23T01:27:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-23T01:41:41.000Z (over 7 years ago)
- Last Synced: 2025-10-06T14:49:43.674Z (3 months ago)
- Language: Ruby
- Size: 85 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GraphQL Pro Operation Store Demo
A running demo of [persisted operations with GraphQL-Ruby](#)
You can trigger GraphQL queries via the UI:

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

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

## 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/