
Gain hands-on experience with GraphQL using Java and Spring Boot 3. Build and query schemas, implement resolvers and data loaders, and explore subscriptions and Kafka integration.
Discover how GraphQL, a strongly typed API query language, fetches exact data via a single endpoint and avoids unnecessary data, using query, mutation, and subscription, with subscriptions leveraging websockets.
Build and run a spring boot graphql app to write and map your first graphql query, create a schema, test with altair, and use variables and not null arguments.
Learn to design a realistic GraphQL API with a MySQL-backed student management system, creating JPA entities, repositories, and Spring Boot configurations to enable CRUD operations.
Develop a GraphQL API to fetch all students and their subject marks, define student response and student subject response types, and implement a schema-mapped resolver to avoid overfetching.
discover how GraphQL data loader batching solves the n+1 problem by batching student results into a single call and using batch mapping with Spring Boot GraphQL annotations.
Learn how GraphQL interfaces and fragments power a unified get members query in a Spring Boot 3 app, with data loader batching for teachers and students.
Explore GraphQL unions and interfaces, compare differences, and learn when to use each with a search example returning student or teacher subject responses.
Learn how GraphQL batches multiple queries in parallel within one request to boost performance. Use field aliases to combine search and all members into a single network call.
Explore GraphQL extended scalars in Spring Boot three to add BigDecimal via runtime wiring, and build a custom email scalar with regex and alias id as key.
Explore GraphQL directives, from built-in skip, include, and deprecated to custom uppercase directives, and implement them with Spring Boot to manipulate field data.
Learn to implement GraphQL pagination in Spring Boot 3 using offset and limit and the GraphQL cursor connection (Relay) with edges, nodes, and page info, including after and before cursors.
Explore GraphQL mutation for inserting, updating, and deleting data using member input and a status response in a Spring Boot 3 GraphQL Java setup.
Learn to handle GraphQL exceptions in Spring Boot 3 by implementing local mutation-level error handling and a global controller advice, including validation errors, runtime exceptions, and customizing error responses.
Learn how to implement GraphQL request and response interceptors in Spring Boot, pass header data through the GraphQL context, and access or expose headers using the data fetching environment.
Learn GraphQL subscription and event-based notifications using WebSocket and Spring Boot, building a real-time member update flow with a flux sink and publisher.
In GraphQL subscription (part II) learn to generalize a member subscription by wiring a generalized member publisher, emitting add and remove member events to a WebSocket subscription for real-time notifications.
Master GraphQL test design with JUnit and Spring Boot, using a GraphQL tester and web client to validate queries, mutations, and subscriptions through unit and integration tests.
Write GraphQL mutation test cases for adding and removing a member using the Altair client, validating status and created member id, with cleanup and nested path assertions.
Craft and validate GraphQL subscription test cases using a web socket tester in a Spring Boot setup, verifying member created and member removed events via reactor http client.
Explore testing GraphQL error handling in Java with Spring Boot 3, covering integration test cases for missing headers, GraphQL errors, and validation errors, and learn how to assert error details.
Explore building reactive GraphQL APIs with Spring Web Flux, enabling query, mutation, and subscription over a native reactive server and WebSocket, backed by MongoDB.
Set up a reactive GraphQL project with spring boot 3, configure webflux, spring graphql, and reactive mongo dependencies, and scaffold controller, entity, service, and repository for query, mutation, and subscription.
Implement a reactive GraphQL query and mutation in Spring Boot 3 with a reactive MongoDB repository, defining a student schema and using Flux and Mono.
Implement a reactive GraphQL subscription in Spring Boot using WebFlux, with a sink and multicast to publish student updates over GraphQL over WebSocket.
Set up GraphQL over RSocket in a Spring Boot 3 project by enabling reactive circuit, configuring the RSocket port and mapping, and testing with an RSocket client.
Learn to test GraphQL APIs from the command line using curl, including building data payloads with query, operation name, and variables, and validating results via a socket client.
Learn to test GraphQL operations, including queries, mutations, and subscriptions, using Rsocket, with hands-on guidance on building requests, operation names, variables, and inter-service messaging in PowerShell.
In this Course, you will learn from basic to advanced features of GraphQL API design using Spring for GraphQL with Springboot 3 framework including Spring Reactive Web Applications.
Earlier, you need to write more java codes of GraphQL-Java to implement query, mutation or subscription. After springboot version 2.7, Spring for GraphQL released, which helped developers immensely with its annotation based architecture. In this course, we will develop GraphQL microservice APIs using Springboot 3 and Spring for GraphQL framework.
Now-a-days, GraphQL is gaining its popularity over REST apis. In my experience, I have seen many projects move towards GraphQL mostly because of its Query features which retrieves data exactly what the client has requested for. In this course, I have extensively covered all the features of GraphQL Query including custom scalars, directives and paginations for this purpose.
This course is mostly hands-on and java programming based, I have focused more on how to implement GraphQL services rather that on the theoretical aspects. This course covers GraphQL Query, Mutation, Subscription as well as advanced topics like extended scalars (using external jars), directives, cursor paginations etc. You will also learn about exception handling and how to use interceptors. In any API development, writing unit test cases or integration test cases is a must, hence, you will learn that as well using Spring GraphQLTester apis.
In the later part of the course, with basic pre-requisite knowledge of WebSocket, Reactive Socket (Rsocket) and reactive programming, you will learn how to develop GraphQL apis in reactive web project as well. You will also learn how to integrate GraphQL with Apache Kafka, specially how to consume Kafka messages using GraphQL Subscription easily and effectively.
After completion of the course, you will be able to write complete GraphQL microservice applications using Spring framework (both Web and Reactive Web) with most its features including test cases.