GitHub - PG1GitHub/springbootGraphQLPOC · GitHub
Skip to content

PG1GitHub/springbootGraphQLPOC

Folders and files

Repository files navigation

Spring Boot with GraphQL Query Example

Book Store

  • /rest/graphql is the REST resource which can fetch Books information
  • DataFetchers are Interfaces for RuntimeWiring of GraphQL with JpaRepository

Sample GraphQL Scalar Queries

  • Accessible under http://localhost:8091/rest/graphql
  • Usage for allBooks { allBooks { isn title authors publisher } }
  • Usage for book { book(id: "123") { title authors publisher }
  • Combination of both allBooks and book { allBooks { title authors } book(id: "124") { title authors publisher } }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors