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) · 862 Bytes

VOYAGER.md

File metadata and controls

28 lines (21 loc) · 862 Bytes

Intro

Voyager sample contains:

  • voyager.html the home page of GraphQL Voyager which represent any GraphQL API as an interactive graph.
  • lv.ctco.tpl.bff.voyager configures and serves voyager static content using Web Controller

Requirements and Downloads

Requirements:

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

Enable GraphQL Voyager

GraphQL Voyager becomes accessible at the root /voyager.

Note that GraphQL server must be available at /graphql/* context to be discovered by GraphQL Voyager.

Available Spring Boot configuration parameters (either application.yml or application.properties):

voyager:
    mapping: /voyager
    enabled: true
    pageTitle: Voyager
graphql:
    endpoint: /graphql