The GraphQL Client DSL code in this tutorial is generated using the Kobby Plugin.
- Clone this tutorial
- See GraphQL schema here
- Start server:
./gradlew :cinema-server:bootRun
- Try to execute GraphQL queries in console (for example
query { films { id title } }
) - Start client:
./gradlew :cinema-client:bootRun
- See queries, generated by Kobby DSL in client output
- See client source code here
- Just try to write your own query by means of Kobby DSL!
A more sophisticated example of a GraphQL service with API customization, integration tests, and Spring Security can be found here.