Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

Latest commit

 

History

History
28 lines (21 loc) · 1.01 KB

PLAYGROUND.md

File metadata and controls

28 lines (21 loc) · 1.01 KB

Intro

Voyager sample contains:

  • playground.html the home page of GraphQL Playground - GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).
  • lv.ctco.tpl.bff.playground configures and serves playground static content using Web Controller

Requirements and Downloads

Requirements:

  • Java 1.8
  • Spring Framework Boot > 1.5.7 (web)
  • runtime playground dependencies are loaded from //cdn.jsdelivr.net

Enable GraphQL Playground

By default, GraphQL Playground becomes accessible at the root /playground.

By default, GraphQL server must be available at /graphql/* context to be discovered by GraphQL Playground.

GraphQL Playground root and GraphQL server context could be overwritten.
Available Spring Boot configuration parameters (either application.yml or application.properties):

playground:
    mapping: /playground
    enabled: true
    pageTitle: Playground
    endpoint: /graphql