
Examine a spring boot GraphQL project setup, including build.gradle dependencies and a beans config that wires a resource loader, employee resolver, and schema, then generate an executable schema.
Explore a GraphQL resolver in Spring Boot: define an employee model, implement a data fetcher, return a hard-coded list, and use the environment to access input parameters.
Implement a by-id query in GraphQL with Spring Boot, updating the schema and repository to return a single super character by id, using case-insensitive matching.
Builds the first mutation in a GraphQL with Spring Boot project by adding an addCharacter mutation that takes name and age, updates the repository, and returns the new super character.
We built a Gradle-based Spring Boot project, added GraphQL libraries, configured yaml, defined models for super character and super group, and implemented in-memory repositories, queries, and mutations.
This course will enable you to start developing your own GraphQL interfaces as Java Spring Boot microservices.
GraphQL is a hot new technology, and demand for competent developers is ever increasing.
In this course you will first walk through a fully functioning GraphQL microservice.
You will then write a complete GraphQL Spring Boot microservice from scratch. By the end, you will be able to start with an idea, and finish a GraphQL service very quickly.
Topics we cover include:
What is GraphQL, and why use it?
How to set up your project
How to model your data objects
How to create and update your GraphQL Schema file
How to write Resolver components
How to test your service