Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Files

Latest commit

bdc79e6 · May 20, 2019

History

History
22 lines (18 loc) · 1.21 KB

README.md

File metadata and controls

22 lines (18 loc) · 1.21 KB

Java starter

This starter uses:

  • Spring Boot as application server
  • graphql-spring-boot-starter and graphiql-spring-boot-starter for automatic configuration of graphql runtime
  • graphql-java-tools for schema first development

Points of interest

  • application.yml
    • coniguration of graphql servlet and graphiql console
  • schema.graphqls
    • GraphQL schema definition
  • AllergensClient.java
    • Client for communicating with allergens REST API. Perfect for stealing if you don't want to implement this your self!
  • MarketPriceClient.java
    • Client for communicating with marketPrice GraphQL API. Perfect for stealing if you don't want to implement this your self!
  • DataSource.java
    • Simple in memory fake datastore that has ingredients, dishes and orders
  • schema.graphqls
    • GraphQL schema