The GraphQL Client DSL code in this tutorial is generated using the Kobby Plugin.
- Clone this tutorial
- See GraphQL schema here
- Start server:
./mvnw -pl kobby-maven-tutorial-cinema-server -am spring-boot:run
- Try to execute GraphQL queries in console (for example
query { films { id title } }
) - Start client:
./mvnw -pl kobby-maven-tutorial-cinema-client -am spring-boot:run
- 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.