
Learn GraphQL benefits like low network footprint and flexible querying, query only what you need, and explore self-documenting schemas with Spring GraphQL topics.
Altair and Postman Collection
Explain how Spring GraphQL dependencies such as Spring Data JPA, Hibernate, transactions, Spring Web, and WebFlux integrate with Postgres, Docker Compose, and Lombok to enable reactive GraphQL testing.
Explore the Dgs code generation plugin for spring graphql, which converts a .graphql script into Java code in the target folder and integrates with maven projects.
Learn to use GraphQL Java extended scalars for money, big decimal, long, currency, and date-time types, and wire them into Spring GraphQL via runtime wiring.
Explore how GraphQL handles reads through the query type, using input types, basic and extended scalars, and endpoints to fetch samples.
Explore query type in GraphQL, learn to pass multiple inputs with input types, and interpret square brackets as lists while returning mandatory sample objects for endpoints.
Explore creating GraphQL entity inputs for a Spring app, defining company, department, employee, outsourced inputs, and address inputs, while respecting input vs type rules and default fields.
Design a JPA company entity with uuid id, Lombok accessors, and table mappings for name, rc number, head office, country, business type, plus created and updated timestamps and unique indices.
Implement only the repository subset you need, using CrudRepository or JPA repository, and leverage paging and sorting with Pageable, find by, get by, and example by to keep builds lean.
Explore the setup of the initial GraphQL mutation, defining types like create company and create employee, using inputs and a creation response to return IDs and manage composition.
Implement one mutation controller in a spring graphQL project, ensure a single query and a single mutation entry point by renaming files, and validate compilation.
Learn to implement a department controller in spring graphql, compare schema mapping with mutation mapping, align signatures with arguments and fields, and use constants for mutation like create department.
Map GraphQL mutations to a Spring employee controller using generated type name constants, ensure signatures match, use input arguments, and wire creation and update operations for robust mutation handling.
Would you like to learn how to leverage GraphQL using Spring? Then this course is for you
It teaches you all you need to know about Spring GraphQL from scratch. We take a pragmatic approach building on the previous sections.
You will master why and how each component GraphQLcommunicates.
The course also explains pragmatically how to:
extend the basic GraphQL types.
use Instrumentation to create extra validation logic
implement Spring Authorization Server (Oauth2): Client Credentials Granr
implement CI/CD Pipeline using Git actions
use GraalVm to create a native image depending on your operating system
interact with Kubernetes using the low-level kubectl commands to create pods, services, deployments, config maps, port-forwarding
use WebSocket to publish events or messages
Specific Spring Data JPA repositories to do specific tasks
use SpringBootTest with GraphQL, Junit and Hamcrest
We write effective Integration test to cover virtually all our use cases
In addition to the Course, you will learn about and/or highlight a bit on:
Containerization (Docker)
The course shows you how to containerize our application. i.e create image
we likewise ran the application via Docker commands in the terminal
PostgresDB
Custom Exceptions and Validations
Java records
Spring Boot Starter Docker Compose and how to use it in development.