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

Master RESTful APIs with Spring Boot 2 in 100 Steps

Thành thạo RESTful APIs với Spring Boot 2 trong 100 Bước

Thành thạo RESTful APIs với Spring Boot 2 trong 100 Bước

Học cách xây dựng RESTful APIs bằng Spring Boot 2 qua phương pháp Thực hành Từng bước, thông qua việc tạo một Dịch vụ Quản lý Người dùng!

4.6
(1,540 đánh giá)
13,894 học viên
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
13.5 giờ video
111 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ì

Bạn sẽ có khả năng phát triển RESTful web services với Spring Boot 2 từ con số 0.
Bạn sẽ xây dựng một dự án thực tế sử dụng Spring Boot Data JPA & cơ sở dữ liệu H2, trong đó cùng một dự án sẽ được tận dụng để học tất cả các module một cách tuần tự.
Bạn sẽ học cách sử dụng github để quản lý quá trình phát triển tuần tự cho các ứng dụng SpringBoot, cả qua dòng lệnh git và sử dụng STS IDE.
Bạn sẽ hiểu cách triển khai Xử lý Ngoại lệ bằng gói ResponseStatusException mới nhất của Spring 5.
Bạn sẽ có khả năng thiết kế và triển khai xử lý ngoại lệ toàn cục (Global Exception Handling) và Validation cho các Dịch vụ RESTful.
Bạn sẽ hiểu và triển khai JPA OneToMany Association
Bạn sẽ hiểu sâu về các khái niệm HATEOAS và triển khai các khái niệm Self Linking và Relationship linking bằng HATEOAS.
Bạn sẽ triển khai tính năng quốc tế hóa (internationalisation) cho Dịch vụ RESTful.
Bạn sẽ có khả năng hiểu và thiết kế các giải pháp lọc (filtering) cho RESTful webservices với các phương pháp lọc tĩnh, động và sử dụng @JsonView.
Bạn sẽ hiểu khái niệm DTOs (Data Transfer Objects) và triển khai chuyển đổi từ Entity sang DTO bằng các Dependency ModelMapper và MapStruct.
Bạn sẽ hiểu các tùy chọn có sẵn để versioning cho RESTful APIs và triển khai tất cả các tùy chọn đó.
Bạn sẽ tìm hiểu về tầm quan trọng của Tài liệu API cho RESTful APIs và triển khai tích hợp SWAGGER với Dịch vụ Quản lý Người dùng mà bạn sẽ xây dựng trong khóa học này.
Bạn sẽ hiểu và triển khai các tính năng spring boot actuator và Spring Boot admin cho Dịch vụ RESTful.
Bạn sẽ tìm hiểu về Micrometer và cách nó có thể xuất metrics đến nhiều công cụ giám sát. Bạn sẽ triển khai xuất metrics qua JMX và đến một giải pháp SAAS tên là AppOptics, đồng thời tạo bảng điều khiển (dashboards), xác minh dữ liệu chuỗi thời gian (timeseries data), metrics trực tiếp trong AppOptics.

Yêu cầu

Bạn nên quen thuộc với các khái niệm Java cơ bản

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

Dành cho bất kỳ ai muốn học cách thiết kế và phát triển Spring Boot RESTful APIs với Spring Boot từ đầu.
Dành cho bất kỳ ai muốn học theo phương pháp Từng bước với Hướng tiếp cận Thực hành.
Dành cho bất kỳ ai muốn học cách xây dựng các lớp backend cho ứng dụng doanh nghiệp với phương pháp hiện đại (RESTful APIs)

Nội dung khóa học

15 phần • 111 bài giảng
1 Bước-01: Giới thiệu Khóa học
2 Bước-02: Giới thiệu về RESTful API
3 Bước-03: Thiết lập Môi trường Phát triển
1 Bước-00: Cách tốt nhất để hoàn thành khóa học này nhanh chóng
2 Bước-00: Giới thiệu Github & HelloWorld
3 Bước-01: Tạo dự án Spring Boot cơ bản từ start.spring.io
4 Bước-02: Giới thiệu về quản lý dự án Spring Boot qua github
5 Bước-03: Thiết lập Cơ sở Github
6 Bước-04: Thêm Repository GIT vào Spring Tool Suite IDE
7 Bước-05: Tạo một Dịch vụ RESTful Hello World đơn giản trả về một Chuỗi
8 Bước-06: Tạo một Dịch vụ REST Hello World đơn giản trả về một Bean (JSON)
9 Bước-07: GIT Commit & Push các thay đổi của Dịch vụ RESTful Hello World lên Github
10 Kết nối với Tôi !!!
1 Bước-00: Giới thiệu về Xây dựng RESTful APIs với JPA
2 Bước-01: Giới thiệu Usecase
3 Bước-02: Kiểm tra pom.xml cho tất cả các Dependency
4 Bước-03: Cập nhật application.properties cần thiết cho các Dịch vụ RESTful dựa trên JPA
5 Bước-04-01: Tạo User Entity - Hiểu về Annotation @Entity
6 Bước-04-02: Tạo User Entity - Hiểu về Annotation @Table
7 Bước-04-03: Tạo User Entity - Định nghĩa Biến, Getters & Setters
8 Bước-05: Hiểu và Triển khai các thay đổi liên quan đến Cơ sở dữ liệu H2
9 Bước-06: Tạo User Repository - @Repository
10 Bước-07: Triển khai Dịch vụ RESTful getAllUsers - @Service, @RestController
11 Bước-08: Kiểm tra Dịch vụ RESTful getAllUsers - Sử dụng REST Client POSTMAN
12 Bước-09: Triển khai Dịch vụ RESTful createUser - @PostMapping
13 Bước-10: Triển khai Dịch vụ RESTful getUserById - @GetMapping
14 Bước-11: Triển khai Dịch vụ RESTful updateUserById - @PutMapping
15 Bước-12: Triển khai Dịch vụ RESTful deleteUserById - @DeleteMapping
16 Bước-13: Triển khai Dịch vụ RESTful getUserByUsername - @GetMapping
17 Bước-14: GIT Commit, Push, Merge vào Master và Push
1 Bước-00: Giới thiệu về Xử lý Ngoại lệ sử dụng ResponseStatusException
2 Bước-00: Tạo nhánh git - local & remote
3 Bước-01: Triển khai xử lý ResponseStatusException cho getUserById
4 Bước-02: Triển khai ResponseStatusException cho Dịch vụ RESTful updateUserById
5 Bước-03: Triển khai ResponseStatusException cho Dịch vụ RESTful deleteUserById
6 Bước-04: Triển khai ResponseStatusException cho Dịch vụ RESTful createUser
7 Bước-05: Triển khai HTTP Status code & Location Header cho Dịch vụ createUser
8 Bước-06: GIT Commit, Push, Merge vào Master và Push
9 Kết nối với Tôi !!!
1 Bước-00: Giới thiệu về Spring Boot - Validations & Xử lý Ngoại lệ Toàn cục
2 Bước-00: Tạo nhánh git cho Validations & Xử lý Ngoại lệ Toàn cục
3 Bước-01: Triển khai Bean Validation - @Valid
4 Bước-02: Triển khai Global Exception Handler tùy chỉnh - @ControllerAdvice
5 Bước-03: Triển khai HttpRequestMethodNotSupportedException trong GEH
6 Bước-04: Triển khai UserNameNotFoundException trong GEH - @ExceptionHandler
7 Bước-05: Path Variable Validation & ConstraintViolationException trong GEH
8 Bước-06: Triển khai Global Exception Handling sử dụng @RestControllerAdvice
9 Bước-07: Chuyển đổi giữa @ControllerAdvice và @RestControllerAdvice
1 Bước-00: Nhu cầu về JPA OneToMany cho HATEOAS
2 Bước-00: Giới thiệu về JPA OneToMany Association
3 Bước-01: Tạo nhánh git cho JPA OneToMany Association
4 Bước-02: Tạo Order Entity và @ManyToOne Association
5 Bước-03: Cập nhật User entity với @OneToMany Association
6 Bước-04: Triển khai Dịch vụ RESTful "getAllOrders"
7 Bước-05: Triển khai Dịch vụ RESTful "createOrder"
8 Bước-06: Triển khai Dịch vụ RESTful "getOrderByOrderId"
9 Bước-07: GIT Commit, Push, Merge vào Master và Push
1 Bước-00: Giới thiệu về Spring Boot - HATEOAS
2 Bước-00: Tạo nhánh git cho HATEOAS
3 Bước-01: Thêm Dependency HATEOAS vào pom.xml
4 Bước-02: Mở rộng User và Order Entities với ResourceSupport
5 Bước-03: Tạo User và Order Controllers mới cho việc Triển khai HATEOAS
6 Bước-04: Triển khai self link trong phương thức getUserById
7 Bước-05: Triển khai self và relationship links trong phương thức getAllUsers
8 Bước-06: GIT commit code, push lên remote, merge vào master
1 Bước-00: Giới thiệu về Quốc tế hóa
2 Bước-00: Tạo nhánh git cho Quốc tế hóa
3 Bước-01: Tạo các Beans LocaleResolver và ResourceBundleMessageSource
4 Bước-02: Triển khai Dịch vụ RESTful với Quốc tế hóa
5 Bước-03: GIT Commit, Push, Merge vào Master và Push
1 Bước-01: Triển khai Lọc Tĩnh (Static Filtering) sử dụng @JsonIgnore và @JsonIgnoreProperties
2 Bước-02: Triển khai Lọc Động (Dynamic Filtering) sử dụng MappingJacksonValue
3 Bước-03: Triển khai Lọc Động với MappingJacksonValue & @RequestParam
4 Bước-04: Lọc Động - git Commit và Push code
5 Bước-05: Giới thiệu về Lọc sử dụng @JsonView
6 Bước-06: Triển khai Lọc sử dụng @JsonView
1 Bước-01: Giới thiệu ModelMapper
2 Bước-02: Thiết lập Cấu hình ModelMapper
3 Bước-03: Triển khai các Phương thức sử dụng ModelMapper
4 Bước-04: Giới thiệu MapStruct
5 Bước-05: Thiết lập Cấu hình MapStruct
6 Bước-06: MapStruct - Tạo UserMapper và Triển khai phương thức getAllUsers
7 Bước-07: MapStruct - Triển khai phương thức getUserById sử dụng MapStruct UserMapper
1 Bước-00: Giới thiệu Versioning
2 Bước-01: Tạo các DTO cần thiết cho việc Triển khai Versioning
3 Bước-02: Triển khai URI Versioning
4 Bước-03: Triển khai Request Parameter Versioning
5 Bước-04: Triển khai Custom Header Versioning
6 Bước-05: Triển khai Media Type Versioning
7 Bước-06: Triển khai & Kiểm tra Content Negotiation
8 Bước-07: GIT Commit Code & Push cho nhánh Content Negotiation
1 Bước-00: Giới thiệu về Swagger
2 Bước-01: Thêm Springfox Dependencies vào pom.xml và Tạo file SwaggerConfig
3 Bước-02: Thêm API Info để chỉnh sửa phần header của tài liệu của chúng ta
4 Bước-04: Giới hạn phạm vi tạo tài liệu swagger bằng cách sử dụng API Base packages
5 Bước-05: Tự động điền tài liệu cho JSR-303 Validations
6 Bước-06: Thêm Swagger Core Annotations vào lớp Model
7 Bước-07: Thêm Swagger Core Annotations vào các lớp Controller
1 Bước-00: Giới thiệu SpringBoot Actuator
2 Bước-01: Thêm Actuator Dependency vào pom.xml
3 Bước-02: Expose tất cả Actuator Endpoints và thảo luận về chúng
4 Bước-03: Giới thiệu SpringBoot Admin
5 Bước-04: SpringBoot Admin - Thiết lập Cơ sở
6 Bước-05: Chỉ định Ứng dụng SpringBoot Client đến SpringBoot Admin Server
7 Bước-06: Kiểm tra các tính năng trong SpringBoot Admin Server
1 Bước-00: Giới thiệu về SpringBoot Micrometer
2 Bước-01: Thêm Micrometer Dependency vào pom.xml
3 Bước-02: Tích hợp với JMX và xem metrics trong JConsole
4 Bước-03: Tích hợp với AppOptics để xuất metrics và Xem metrics trong AppOptics
5 Bước-04: Xác minh Metrics trong AppOptics và Tạo Metrics Dashboards
1 Bài giảng Thưởng

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

******* Course Overview *******

Welcome to this Amazing course on Master RESTful API s using Spring Boot 2 in 100 Steps.  The below are the list of modules covered in this course.


Course Modules

01. Introduction

02. Manage Spring Boot Projects via Github & HelloWorld REST service

03. Build RESTful APIs using Spring Data JPA and H2 Database

04. Exception Handling with ResponseStatusException - Spring 5 Latest

05. Validations & Global Exception Handling

06. SpringBoot - JPA OneToMany Association

07. SpringBoot - HATEOAS

08. SpringBoot - Internationalisation

09. SpringBoot - Filtering

10. SpringBoot - DTOS - Data Transfer Objects

11. SpringBoot - Versioning & Content Negotiation

12. SpringBoot - Swagger Integration

13. SpringBoot - Actuator & Admin

14. SpringBoot - Actuator & Micrometer


Each of my courses come with

  • Amazing Hands-on Step By Step Learning Experiences

  • Real Implementation Experience

  • Friendly Support in the Q&A section

  • 30 Day "No Questions Asked" Money Back Guarantee!


***************Section wise course details**********************

Module 1: Introduction

Module 01: Introduction

01 Step 01: Course Introduction

01 Step 02:  Introduction to RESTful API


Module 02: Manage Spring Boot Projects via Github & HelloWorld REST service

02 Step 00: Github & HelloWorld Introduction

02 Step 01: Create Spring Boot base project from spring initializer

02 Step 02: Introduction for managing Spring Boot projects via github

02 Step 03: Github Base Setup

02 Step 04: Add GIT Repository to Spring Tool Suite IDE

02 Step 05: Create a Simple Hello World RESTful Service which returns a String

02 Step 06: Create a Simple Hello World REST Service which returns a Bean (JSON)

02 Step 07: GIT Commit & Push Hello World RESTful service changes to Github


Module 03: Build RESTful APIs using Spring Data JPA and H2 Database

03 Step 00: Introduction to Build RESTful APIs with JPA

03 Step 01: Usecase Introduction

03 Step 02: Verify pom.xml for all Dependencies

03 Step 03: Update application.properties required for JPA based RESTful Services

03 Step 04 01: Create User Entity - Understand @Entity Annotation

03 Step 04 02: Create User Entity - Understand @Table Annotation

03 Step 04 03: Create User Entity - Define Variables, Getters & Setters

03 Step 05: Understand and Implement changes related to H2 Database

03 Step 06: Create User Repository - @Repository

03 Step 07: Implement getAllUsers RESTful Service - @Service, @RestController

03 Step 08: Test getAllUsers RESTful Service - Using REST Client POSTMAN

03 Step 09: Implement createUser RESTful Service - @PostMapping

03 Step 10: Implement getUserById RESTful Service - @GetMapping

03 Step 11: Implement updateUserById RESTful service - @PutMapping

03 Step 12: Implement deleteUserById RESTful Service - @DeleteMapping

03 Step 13: Implement getUserByUsername RESTful Service - @GetMapping

03 Step 14: GIT Commit, Push, Merge to Master and Push


Module 04: Exception Handling with ResponseStatusException - Spring 5 Latest

04 Step 00: Introduction to Exception Handling using ResponseStatusException

04 Step 00: Create git branch - local & remote

04 Step 01: Implement ResponseStatusException handling for getUserById

04 Step 02: Implement ResponseStatusException for updateUserById RESTful Service

04 Step 03: Implement ResponseStatusException for deleteUserById RESTful Service

04 Step 04: Implement ResponseStatusException for createUser RESTful Service

04 Step 05: Implement HTTP Status code & Location Header for createUser Service

04 Step 06: GIT Commit, Push, Merge to Master and Push


Module 05: Validations & Global Exception Handling

05 Step 00: Introduction to Spring Boot - Validations & Global Exception Handling

05 Step 00: Create git branch for Validations & Global Exception Handling

05 Step 01: Implement Bean Validation - @Valid

05 Step 02: Implement custom Global Exception Handler - @ControllerAdvice

05 Step 03: Implement HttpRequestMethodNotSupportedException in GEH

05 Step 04: Implement UserNameNotFoundException in GEH - @ExceptionHandler

05 Step 05: Path Variable Validation & ConstraintViolationException in GEH

05 Step 06: Implement Global Exception Handling using @RestControllerAdvice

05 Step 07: Switching between @ControllerAdvice and @RestControllerAdvice


Module 06: SpringBoot - JPA OneToMany Association

06 Step 00: Need for JPA OneToMany for HATEOAS

06 Step 00: Introduction to JPA OneToMany Association

06 Step 01: Create git branch for JPA OneToMany Association

06 Step 02: Create Order Entity and @ManyToOne Association

06 Step 03: Update User entity with @OneToMany Association

06 Step 04: Implement "getAllOrders" RESTful Service

06 Step 05: Implement "createOrder" RESTful Service

06 Step 06: Implement "getOrderByOrderId" RESTful Service

06 Step 07: GIT Commit, Push, Merge to Master and Push


Module 07: SpringBoot - HATEOAS

07 Step 00: Introduction to Spring Boot - HATEOAS

07 Step 00: Create git branch for HATEOAS

07 Step 01: Add HATEOAS Dependency in pom.xml

07 Step 02: Extend User and Order Entities with ResourceSupport

07 Step 03: Create new User and Order Controllers for HATEOAS Implementation

07 Step 04: Implement self link in getUserById Method

07 Step 05: Implement self and relationship links in getAllUsers Method

07 Step 06: GIT commit code, push to remote, merge to master


Module 08: SpringBoot - Internationalisation

08 Step 00: Introduction to Internationalisation

08 Step 00: Create git branch for Internationalisation

08 Step 01: Create LocaleResolver and ResourceBundleMessageSource Beans

08 Step 02: Implement RESTful Service with Internationalisation

08 Step 03: GIT Commit, Push, Merge to Master and Push


Module 09: SpringBoot - Filtering

09 Step 01: Implement Static Filtering using @JsonIgnore and @JsonIgnoreProperties

09 Step 02: Implement Dynamic Filtering using MappingJacksonValue

09 Step 03: Implement Dynamic Filtering with MappingJacksonValue & @RequestParam

09 Step 04: Dynamic Filtering - git Commit and Push code

09 Step 05: Introduction to Filtering using @JsonView

09 Step 06: Implement Filtering using @JsonView


Module 10: SpringBoot - DTOS - Data Transfer Objects

10 Step 01: ModelMapper Introduction

10 Step 02: ModelMapper Configuration Setup

10 Step 03: Implement Methods using ModelMapper

10 Step 04: MapStruct Introduction

10 Step 05: MapStruct Configuration Setup

10 Step 06: MapStruct - Create UserMapper and Implement getAllUsers Method

10 Step 07: MapStruct - Implement getUserById Method using MapStruct UserMapper


Module 11: SpringBoot - Versioning & Content Negotiation

11 Step 00: Versioning Introduction

11 Step 01: Create DTO's required for Versioning Implementation

11 Step 02: Implement URI Versioning

11 Step 03: Implement Request Parameter Versioning

11 Step 04: Implement Custom Header Versioning

11 Step 05: Implement Media Type Versioning

11 Step 06: Implement & Test Content Negotiation

11 Step 07: GIT Commit Code & Push for Content Negotiation branch

Module 12: SpringBoot - Swagger Integration

12 Step 00: Introduction to Swagger

12 Step 01: Add Springfox Dependencies to pom.xml and Create SwaggerConfig file

12 Step 02: Adding API Info to modify header part of our documentation

12 Step 03: Restrict scope of swagger document generation using API Base packages

12 Step 04: Auto populate documentation for JSR-303 Validations

12 Step 05: Adding Swagger Core Annotations to Model class

12 Step 06: Adding Swagger Core Annotations to Controller classes


Module 13: SpringBoot - Actuator & Admin

13 Step 00: SpringBoot Actuator Introduction

13 Step 01: Add Actuator Dependency in pom.xml

13 Step 02: Expose all Actuator Endpoints and discuss about them

13 Step 03: SpringBoot Admin Introduction

13 Step 04: SpringBoot Admin - Base Setup

13 Step 05: Point SpringBoot Client Application to SpringBoot Admin Server

13 Step 06: Test the features in SpringBoot Admin Server


Module 14: SpringBoot - Actuator & Micrometer

14 Step 00: Introduction to SpringBoot Micrometer

14 Step 01: Add Micrometer Dependency to pom.xml

14 Step 02: Integrate with JMX and view metrics in JConsole

14 Step 03: Integrate with AppOptics to export metrics and View metrics in AppOptic

14 Step 04: Verify Metrics in AppOptics and Create Metrics Dashboards.


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 Backend Development
Hiển thị tất cả khoá học Java
Hiển thị tất cả khoá học Rest Api
Hiển thị tất cả khoá học Spring Boot
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊