Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Moving Beyond REST - GraphQL and Java & Spring

Spring I/O via YouTube

Overview

Explore GraphQL as an alternative or complement to REST-based API development in this conference talk from Spring I/O 2019. Learn the basics of GraphQL and discover how to create a GraphQL server and consume it in a Java client. Understand the advantages of GraphQL, including faster and more flexible development, and see how to easily integrate it into an existing Spring Boot application. Dive into topics such as GraphQL schemas, endpoints, query parameters, and libraries. Witness practical demonstrations and gain insights into best practices, antipatterns, and the benefits of using GraphQL with Spring. Examine real-world examples, including how to handle authentication, authorization, and mutations in GraphQL applications.

Syllabus

Introduction
What is Spring
What is GraphQL
Learning GraphQL
API Query Language
GraphQL
Silicon Valley
GraphQL vs REST
GraphQL Data Sources
GraphQL Endpoints
Demo
GraphQL Schema
GraphQL Endpoint
Query Parameters
Recap
GraphQL Query
Antipattern
What GraphQL enforces
Avoid callback hell
Update two unconnected objects
GraphQL is faster than REST
Removing fields
Adding fields
Explicit fields
Magic in REST
More concrete
GraphQL fragment example
GraphQL libraries
GraphQL SPQR
Data can be anything
Wrap anything you want
Demo Start
Why use Spring
GraphQL Speaker
Project Lombok
Testing
GraphQL Query Name
Autogenerated GraphQL schema
GraphQL docs
Additional stuff
Double Check
Tesla
Cool
Flexibility
GraphQL Controller
Spring Command Line
Slides
Authentication and Authorization
Mutations

Taught by

Spring I/O

Reviews

Start your review of Moving Beyond REST - GraphQL and Java & Spring

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.