ermadmi78 / kobby-maven-tutorial

Kobby Maven Tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License Discussions

Kobby Maven Tutorial

The GraphQL Client DSL code in this tutorial is generated using the Kobby Plugin.

  1. Clone this tutorial
  2. See GraphQL schema here
  3. Start server: ./mvnw -pl kobby-maven-tutorial-cinema-server -am spring-boot:run
  4. Try to execute GraphQL queries in console (for example query { films { id title } })
  5. Start client: ./mvnw -pl kobby-maven-tutorial-cinema-client -am spring-boot:run
  6. See queries, generated by Kobby DSL in client output
  7. See client source code here
  8. 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.

About

Kobby Maven Tutorial

License:Apache License 2.0


Languages

Language:Kotlin 100.0%