Implementing the GraphQL server
You are going to develop a standalone GraphQL server in this chapter. The knowledge you acquire while developing the standalone GraphQL server can be used to implement federated GraphQL services.
Let’s create the Gradle project first in the next subsection.
Creating the gRPC server project
Either you can use the Chapter 14 code by cloning the Git repository (https://github.com/PacktPublishing/Modern-API-Development-with-Spring-6-and-Spring-Boot-3/tree/dev/Chapter14) or you can start by creating a new Spring project from scratch using Spring Initializr for the server and client with the following options:
- Project:
Gradle -
Groovy
- Language:
Java
- Spring Boot:
3.0.8
The preferred version is 3.0+; if not available, you can modify it later manually in the build.gradle
file
- Project Metadata:
- Group:
com.packt.modern.api
- Artifact:
chapter14
- Name:
chapter14
- Description:
Chapter 14 code of book Modern API Development...
- Group: