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

Latest commit

 

History

History
22 lines (18 loc) · 1.21 KB

README.md

File metadata and controls

22 lines (18 loc) · 1.21 KB

Kotlin 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.kt
    • Client for communicating with allergens REST API. Perfect for stealing if you don't want to implement this your self!
  • MarketPriceClient.kt
    • Client for communicating with marketPrice GraphQL API. Perfect for stealing if you don't want to implement this your self!
  • DataSource.kt
    • Simple in memory fake datastore that has ingredients, dishes and orders
  • schema.graphqls
    • GraphQL schema