This example illustrates the usage of the GraphQL Gateway pattern with graphql.js and Graphcool.
cd database
gc deploy # copy the service id into the `GRAPHCOOL_SERVICE_ID` env var in .envrc
gc root-token main # put the root token into the `GRAPHCOOL_TOKEN` env var in .envrc
yarn install
yarn start
# Open http://localhost:4000/
Look in querie/seed.graphql
to seed some data.
Look in queries/booking.graphql
to see the booking flow.
MIT