The project Spring Boot GraphQL Training contains the source code of the exercises from the book Spring for GraphQL in Practice: Implementation of modern web APIs.
Java 17 is required to complete the exercises. Since Spring Boot 2.7, Java 17 has been used. Therefore Spring Boot 2.7 is a prerequisite for using Spring for GraphQL.
Chapters 3-8 are concluded with exercises. The Github project is split into Maven projects with the following naming conventions.
c<chapter-number>.spring-boot-graphql-<chapter-name>.<start|final>
The <start> projects
can be used as a starting point for the exercises. Each exercise start project has a readme.md
file in which the solution steps are described. The <final>-projects
contain the sample solution. Bugs or enhancements are welcome via Github issues and pull requests.