Last active
August 18, 2019 16:52
-
-
Save liuderchi/57392263fde6250cdeeedcd5e7de07f6 to your computer and use it in GitHub Desktop.
Project config example for Graphql Playground App ( https://github.com/prisma/graphql-playground )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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