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

Latest commit

 

History

History

java

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