Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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/

About

An example app using GraphQL-Pro's persisted queries

Resources

Releases

No releases published

Packages

No packages published