Skip to content

ermadmi78/kobby-maven-tutorial

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Languages