Skip to content

rmosolgo/graphql-pro-operation-store-example

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published