Skip to content

A base template for GraphQL development

License

Notifications You must be signed in to change notification settings

devops-kung-fu/graphql-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql-template

A base template for GraphQL development.

Overview

This template is best used with Github Codespaces or running in a local devcontainer. It is set up with code that will connect to the GitHub GraphQL API to show an example of operational configuration.

The devcontainer is preconfigured with settings to lint and format GraphQL files, install useful GraphQL extensions, and a few other helpful extensions such as Indent Rainbow.

Usage

To utlize the Github GraphQL API you will need a properly scoped PAT, and an environment variable set named GRAPHQL_TOKEN_GITHUB which contains the value of the token. Set the value in your GitHub Codespaces Settings, or set a local environment variable. The devcontainer configuration is set to read it either locally, or if set inside of GitHub so once set you can start executing queries.

About

A base template for GraphQL development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published