Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Project config example for Graphql Playground App ( https://github.com/prisma/graphql-playground )
# For Graphql Playground
# Steps in Toolbar:
# Workspace > New Workspace > select a folder containing this file
#
# example: https://github.com/prisma/graphql-playground/pull/757/files
#
# NOTE for .env
# prepare .env with following content, in same directory as .graphqlconfig.yml
# GH_TOKEN=paste-my-github-token-here
# AIA_TOKEN_LOCAL=paste-aia-token-here
projects:
AIA:
extensions:
endpoints:
LOCAL:
url: http://localhost:8080/graphql
headers:
Authorization: Bearer ${env:AIA_TOKEN_LOCAL}
GitHub:
extensions:
endpoints:
APIv4:
url: https://api.github.com/graphql
headers:
Authorization: Bearer ${env:GH_TOKEN}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.