Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

GraphQL API with Java Spring Boot & Spring Framework

Xây dựng GraphQL API với Java Spring Boot & Spring Framework

Xây dựng GraphQL API với Java Spring Boot & Spring Framework

GraphQL API với Java Spring Boot, Spring Data JPA và MySQL. Tìm hiểu về GraphQL Query, Mutation, Schema, Resolver, Edge

4.3
(3,324 đánh giá)
18,303 học viên
Giảng viên
Infybuzz Learning
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
5.0 giờ video
65 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Học cách sử dụng GraphQL cùng Spring Boot
Tìm hiểu GraphQL là gì?
Tìm hiểu GraphQL Query là gì?
Tìm hiểu GraphQL Mutation là gì?
Hiểu rõ sự khác biệt giữa GraphQL và REST API
Học cách sử dụng GraphQL Query và Mutation với Spring Boot và Spring Data JPA
Học cách viết các truy vấn GraphQL để lấy dữ liệu

Yêu cầu

Cần có kiến thức cơ bản về Ngôn ngữ Lập trình Java & Apache Maven
Cần có kiến thức cơ bản về Spring Boot và Spring Data JPA

Đối tượng phù hợp

Dành cho các Lập trình viên Java muốn học GraphQL với Spring Boot

Nội dung khóa học

14 phần • 65 bài giảng
1 Giới thiệu
2 Altair GraphQL Client
1 GraphQL là gì?
2 GraphQL Query là gì?
3 GraphQL Mutation là gì?
4 GraphQL Schema là gì?
5 So sánh GraphQL và REST API
1 Lombok là gì và tại sao chúng ta cần nó?
2 Ứng dụng Spring Boot sử dụng Lombok
3 Cài đặt Lombok
4 Tạo Getters và Setters với Lombok
5 Tạo Constructors với Lombok
1 Ứng dụng Spring Boot với REST API
2 Thiết lập ứng dụng Spring Boot với GraphQL
3 Viết truy vấn GraphQL đầu tiên
4 Định nghĩa GraphQL Schema
5 Chạy truy vấn với GraphQL và Spring Boot
6 Chạy truy vấn GraphQL với plugin AltAir
1 GraphQL với Dữ liệu Đầu vào
2 Dữ liệu đầu vào JSON cho GraphQL Query
3 Xác thực với GraphQL Schema
4 Thay đổi URL mặc định của ứng dụng GraphQL
1 Ứng dụng GraphQL với Spring Data JPA
2 GraphQL Query với Lớp Model phản hồi
3 Tính linh hoạt của phản hồi với GraphQL Query
4 Lấy danh sách dữ liệu với GraphQL Query
1 Resolver trong GraphQL là gì?
2 Tạo Resolver đầu tiên với GraphQL
3 Lấy dữ liệu với GraphQL Resolver
4 Tìm hiểu sâu hơn về GraphQL Resolver
1 Node và Edge trong GraphQL là gì?
2 Tại sao cần lọc dữ liệu trên Edge?
3 Lọc dữ liệu với GraphQL Edge
4 Lấy dữ liệu đã lọc với GraphQL Edge
5 Lấy tất cả dữ liệu với GraphQL Edge và bộ lọc
1 Tạo Mutation với GraphQL
2 Mutation Input Schema với GraphQL
3 Chạy Mutation đầu tiên với GraphQL
1 Cập nhật khóa học
2 Phiên bản Spring Boot
3 Giới thiệu về Heroku
4 Tạo tài khoản trên Heroku
5 Xác minh tài khoản trên Heroku
6 Tải xuống và cài đặt Git
7 Tải xuống & cài đặt Heroku CLI
8 Tạo ứng dụng Heroku
9 Thiết lập cơ sở dữ liệu MySQL trên Heroku
10 Tải dữ liệu từ MySQL cục bộ lên Heroku MySQL (SQL Dumping)
11 Đăng nhập Heroku CLI
12 Triển khai ứng dụng Spring Boot lên Heroku
13 Kiểm tra nhật ký ứng dụng Heroku
14 Cài đặt ứng dụng Heroku
1 GraphQL Query với Postman
1 Biến số GraphQL là gì?
2 Sử dụng biến số với GraphQL Query
3 Sử dụng biến số với GraphQL Mutation
4 Nhiều biến số GraphQL
1 Cập nhật ứng dụng GraphQL lên phiên bản mới nhất
2 Giới thiệu về GraphQL Client
3 Tạo ứng dụng Spring Boot GraphQL Client
4 GraphQL Client để gọi GraphQL Query
5 GraphQL Client với biến số
6 GraphQL Client để gọi GraphQL Mutation
1 Bài giảng bổ sung
2 Lời cảm ơn...

Giới thiệu khóa học

***** Some Reviews From Students *****

  • best course on graphql. learned a lot.

  • learning in simple words and explained very well. thanks

  • A very good introductory course to learn GraphQL from scratch and implementing the backend in Java using Spring.

  • Very informative. Easy concept explanations and equally well practicals.


In this course you are going to learn to GraphQL With Spring Boot and Spring Data JPA.


Now a days Spring framework is widely used among Java Developers and specifically Spring Boot is in high demand to develop REST APIs.

The problem with REST APIs is that it is giving fixed response in the format of the JSON ( JavaScript Object Notation ). So there comes GraphQL in picture. GraphQL provides flexibility that in request itself we can ask which fields we want in response and it populates only those fields.

In simple words we can say select * query in SQL database is like REST API while ability to provide columns (fields) with query and to return only those fields is GraphQL.

GraphQL boosts performance of your application and it gives consumers flexibility that which attributes they want in response. REST API has problem of under and over fetching of data because of fixed structure of response and GraphQL eliminates this by providing only those attributes which are asked in the request.


In this course you will learn GraphQL in detail with Spring Boot and Spring Data JPA using MySQL database. In this course you will learn :-

  • What is GraphQL ?

  • Difference between GraphQL and REST API

  • What is Query in GraphQL ?

  • What is Mutation in GraphQL ?

  • What is Schema in GraphQL ?

  • What is Resolver in GraphQL ?

  • What is Edge in GraphQL ?

In this course you will learn to create GraphQL Query and Mutation with Spring Boot. You will learn to create Resolver with Edge in Spring Boot.


Project lombok is used to avoid boiler plate code in your Java Application. In this course you learn how to use Project Lombok with Spring Boot Application and you will learn -

  • How to have getter methods for Java Class using @Getter Annotation.

  • How to have setter methods for Java Class using @Setter Annotation.

  • How to have constructor for Java Class using @NoArgsConstructor and @AllArgsConstructor Annotations.

After finishing the course you will be able write GraphQL queries as shown in Promo video and also you will be able to deploy your GraphQL-Spring Boot Application to Heroku which is Cloud Platform.

Lets start journey of GraphQL with Spring Boot and Spring Data JPA.


Course Topics & Lectures :-

Introduction

  • Introduction

  • Altair GraphQL Client

Introduction To GraphQL

  • What is GraphQL ?

  • What is GraphQL Query ?

  • What is GraphQL Mutation ?

  • What is GraphQL Schema ?

  • GraphQL vs REST API

Project Lombok With Spring Boot

  • What is Lombok and Why We Need Lombok ?

  • Spring Boot App For Lombok

  • Lombok Installation

  • Getters and Setters With Lombok

  • Constructors With Lombok

Getting Started With GraphQL

  • Spring Boot App with REST APIs

  • Setting Up Spring Boot App with GraphQL

  • Writing First Query with GraphQL

  • Defining GraphQL Schema

  • Run Query with GraphQL and Spring Boot

  • Running GraphQL Query with AltAir plugin

GraphQL Query

  • GraphQL with Input Data

  • JSON Inputs For GraphQL Query

  • Validations with GraphQL Schema

  • Change URL Of Application

GraphQL Query With Spring Data JPA

  • GraphQL App with Spring Data JPA

  • GraphQL Query with Response Model Class

  • Flexibility Of Response with GraphQL Query

  • Get List Of Data with GraphQL Query

GraphQL Resolver

  • What is Resolver in GraphQL ?

  • Creating First Resolver with GraphQL

  • Getting Data with GraphQL Resolver

  • More with GraphQL Resolver

GraphQL Edges

  • What is Node and Edge in GraphQL ?

  • Why Need Data Filter On Edge ?

  • Data Filter with GraphQL Edge

  • Get Filtered Data with GraphQL Edge

  • Get All Data with GraphQL Edge and Filter

GraphQL Mutation

  • Create Mutation with GraphQL

  • Mutation Input Schema with GraphQL

  • Running First Mutation with GraphQL

More with GraphQL Query

  • Enum As Input For Query

  • Enum In GraphQL Schema

  • Query Data By Enum

GraphQL-Spring Boot Deployment to Heroku (Cloud Platform)

  • Introduction To Heroku

  • Create Account On Heroku

  • Verify Account On Heroku

  • Download and Install Git

  • Download & Install Heroku CLI

  • Create Heroku Application

  • Getting MySQL Database on Heroku

  • Uploading data From Local MySQL to Heroku MySQL (SQL Dumping)

  • Heroku CLI Login

  • Deploy Spring Boot App On Heroku

  • Check Logs For Heroku Application

  • Heroku Application Settings

GraphQL Variable

  • What is GraphQL Variable ?

  • GraphQL Variable with Query

  • GraphQL Variable with Mutation

  • Multiple GraphQL Variables

GraphQL Client with Spring Boot

  • Updating GraphQL App with Latest Versions

  • Introduction To GraphQL Client

  • Create GraphQL Client Spring Boot App

  • GraphQL Client To Call GraphQL Query

  • GraphQL Client with Variable

  • GraphQL Client To Call GraphQL Mutation

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Api Development
Hiển thị tất cả khoá học Java
Hiển thị tất cả khoá học Spring Boot
Hiển thị tất cả khoá học Web Development
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊