Spring Boot REST APIs Ultimate Course

Hands-on REST API Development with Spring Boot: Design, Implement, Document, Secure, Test, Consume RESTful APIs

  • 0.0 (0 Reviews)
  • 0 Students
  • 235 Lessons
  • Nam Ha Minh

Course Overview

Welcome to Spring Boot REST APIs Ultimate course!

My name is Nam Ha Minh. I’m the instructor who will lead you through this course. You know, I’ve been programming with Java for nearly 2 decades, since the days of Java 1.3 and 1.4. I’m a professional Java developer certified by Oracle.

I’m very glad that you’re interested in this course. Let me introduce exactly what this course is about, and everything you need to know before enrolling.


  • What this Course is Exactly About:

This is a comprehensive course about REST API development, from understanding REST API Core Concepts to API Design Best Practices and Implementing APIs with Spring Boot; from Securing APIs to Testing APIs; from Documenting APIs to Deploying APIs.

This course is also about development of different kinds of REST Client applications such as Web app (Spring MVC), React app, desktop app (Java Swing) and mobile app (Android).


  • What You Will Learn to Build:

Through this comprehensive course, you will learn to build Weather APIs Service using Spring Boot with MySQL Database.

Then you will learn to build a React application for managing weather data.

Use Spring MVC to build a web application for managing users and API clients.

And another Spring MVC application for a Weather Forecast website.

Then you will learn to build a sample mobile app that displays embedded weather information, using Android.

Finally, you will learn to build a Java desktop application with Swing, that demonstrates updating weather data from a weather station.

The React app, Weather Forecast website, Android app and Swing app are consumers of the Weather APIs Service.


  • Key technologies will be used:

You'll learn how to use the following technologies (not all mentioned): 

- Back-end technologies: Spring framework, Spring Boot, Spring Data JPA, Spring Data REST, Spring REST Docs, Spring HATEOAS

- Thymeleaf as server-side template engine for Spring MVC application

- FasterXML/jackson Java JSON library

- Security technologies: Spring Security, Spring Security OAuth2, JSON Web Token (JWT) for Java and Android

- Database technologies:  MySQL Relational database, Hibernate ORM framework

- Testing technologies: mockito - mocking framework for unit tests, JUnit testing framework

- Redis as caching solution

- Bucket4J as API Rate Limit solution

- REST Clients: React for Single Page Application, Android for mobile app, Java Swing for desktop app

- Front-end technologies: HTML, CSS, Javascript, Bootstrap, jQuery.


  • Main software programs & tools will be used:

To develop the applications in this course, you will need to use (not all mentioned): Java Development Kit (JDK), Spring Tool Suite IDE, MySQL Community server, MySQL Workbench, curl, Postman, Redis, Docker, Swagger online editor and codegen, Git, Heroku CLI, AWS CLI.


  • What you will get by finishing this course:

By completing this course, you will get comprehensive REST API expertise in Analysis, Design, Implement, Test, Secure, Deploy & Best Practices. In other words, you master all the techniques involved in REST API development.

You will also get Full-stack development expertise in Backend (Java and Spring), Frontend (React, Javascript, HTML, CSS), Database (MySQL), Deployment (Heroku, AWS), Version Control (Git).

More importantly, when you complete learning this course, I believe you will get Job–ready Skills, such as Technical competence, Self management, Accuracy and Attention to Detail, Professionalism that your employer will love, and Problem Solving skill which is important to succeed in your career.

And finally, you will get a Certificate of Completion issued by Udemy, which is a great thing you can add to your Resume.

See more

FAQ

FAQ area empty

Course curriculum

28 chương 235 bài học 50 giờ 56 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Software Installation
Chương 3 REST API Fundamentals
Chương 4 Code Your First REST APIs
  • Code Your First REST API 15:55
  • Code Your Second REST API 29:26
  • Code Your Third REST API 29:22
Chương 5 REST API Design Best Practices
  • Resources Naming Convention 9:38
  • HTTP Methods and Status Codes 1:48
  • Use Hypermedia (HATEOAS) 2:12
  • APIs Versioning 1:48
  • Secure APIs 0:49
  • Document APIs 4:22
  • APIs Caching 2:51
  • APIs Rate Limit 4:55
Chương 6 Overview of the Sample System
  • Overview of Weather Forecast API System 3:42
  • Primary Workflows of API Usage 3:08
  • Overview of Sample Applications 5:50
  • Overview of Database Design 3:21
  • Overview of System Architecture 3:04
Chương 7 Referential Project Code
  • Request Access to GitHub Repo 1:32
  • Browse Project Code in Web Browser 7:07
  • Download Project Code from GitHub 4:37
  • Clone Project Code in Command Line 4:40
  • Clone Project Code in IDE 4:25
  • Browse Code at a Specific Commit 11:15
  • Disconnect from Remote Repository 3:50
Chương 8 Design Our REST APIs
  • What are OpenAPI and Swagger 10:02
  • Explore a Sample APIs Design with Swagger 15:58
  • Design an Example API with Swagger 19:23
  • Generate Server Code for Example API 21:46
  • Check Embedded Docs for Example API 4:00
  • Generate Client Code for Example API 15:03
  • Package and Run Example API on Localhost 7:53
  • Deploy Example API on Heroku 9:44
  • API Design Exercise 3:42
  • Design Weather Forecast APIs (Version 1) 8:12
  • When Using Swagger 1:33
  • Key Notes 1 2:07
Chương 9 Project Setup
  • Create Multi-Module Maven Project 14:51
  • Create MySQL Database 1:27
  • Configure Data Source Properties 4:53
  • Get Geolocation Database 7:31
  • Steps to Implement an API 2:21
Chương 10 Implement Location APIs
  • Create Location Entity Class 11:01
  • Code Add Location API 17:59
  • Unit Testing for REST API 32:42
  • Integration Testing with curl and Postman 12:02
  • Code List Locations API 27:17
  • Code Get Location API 24:32
  • Code Update Location API 26:45
  • Code Delete Location API 20:38
  • Key Notes 2 2:51
Chương 11 Error Handling for REST APIs
  • Why Customizing Default Error Response 5:04
  • Code Global Exception Handler 18:49
Chương 12 Validate REST API Requests
  • Fundamentals of API Request Validation 11:44
  • Customize Error Response 17:38
  • Validate Request Body 21:10
  • Validate Path Parameters 10:45
  • Validate Request Parameters 8:39
Chương 13 Implement Realtime Weather APIs
  • Understand Requirement of Realtime Weather APIs 10:21
  • Code Repository Layer for Realtime Weather APIs 24:48
  • Code Geolocation Service 24:35
  • Get IP Address of Client 15:16
  • Get Realtime Weather by IP Address 40:55
  • Use DTO and Model Mapper 23:54
  • Get Realtime Weather by Location Code 7:29
  • Code Update Realtime Weather API 55:14
  • Key Notes 3 2:39
Chương 14 Implement Hourly Forecast APIs
  • Understand Requirement of Hourly Forecast APIs 7:56
  • Code Repository Layer for Hourly Forecast APIs 11:20
  • Code Unit Tests for Repository Layer 20:56
  • Get Hourly Forecast by IP Address 30:06
  • Tests for Get Hourly Forecast by IP Address 44:57
  • Get Hourly Forecast by Location Code 5:22
  • Code Update Hourly Forecast API - Part 1 16:55
  • Code Update Hourly Forecast API - Part 2 32:45
  • Code Update Hourly Forecast API - Part 3 36:38
  • Update Location APIs 9:16
  • Code Refactor 1 23:02
  • Key Notes 4 8:26
Chương 15 Prepare for Deployment
  • Build & Run WeatherApiService App on Localhost 12:05
  • Embed Geolocation Database in JAR File 9:40
Chương 16 Deployment on Heroku
  • Understand Basics of Heroku 8:56
  • Create a Heroku Account 2:16
  • Install Heroku CLI 3:17
  • Deploy WeatherApiService App with MySQL 38:43
  • Deploy WeatherApiService App with PostgreSQL 32:56
Chương 17 Deployment on AWS Elastic Beanstalk
  • Overview of AWS 7:19
  • Overview of AWS Elastic Beanstalk 7:06
  • Elastic Beanstalk Key Concepts 8:08
  • Create an AWS Account 1:24
  • Create IAM Users 1:25
  • Deploy WeatherApiService App with MySQL 51:33
Chương 18 Consume REST APIs using Spring RestTemplate
  • Overview of Spring RestTemplate 8:18
  • Create a REST Client Project 3:50
  • Consume List Locations API 15:22
  • Consume Add Location API 13:36
  • Consume Get Location API 9:53
  • Consume Update Location API 12:10
  • Consume Delete Location API 11:19
  • Exercise: Consume Realtime Weather APIs 5:36
  • Consume Get Hourly Weather API 22:55
  • Consume Update Hourly Weather API 16:38
  • Use RestTemplate in Spring MVC Application 25:10
  • Key Notes 5 1:50
Chương 19 Implement Daily Forecast APIs
  • Understand Requirement of Daily Forecast APIs 8:42
  • Code Repository Layer for Daily Forecast APIs 11:56
  • Code Unit Tests for Repository Layer 16:45
  • Exercise: Implement Get Daily Forecast by IP Address 9:02
  • Exercise: Implement Get Daily Forecast by Location Code 5:05
  • Exercise: Implement Update Daily Forecast API 17:56
  • Code Refactor 2 9:16
Chương 20 Implement Full Weather APIs
  • Understand Requirement of Full Weather APIs 9:35
  • Code Get Full Weather by IP Address 34:54
  • Integration Tests for Get Full Weather by IP Address 10:12
  • Using JSON Custom Filter 6:04
  • Exercise: Implement Get Full Weather by Location Code 4:44
  • Implement Update Full Weather API 49:42
  • Integration Tests for Update Full Weather API 28:12
  • Code Refactor 3 23:25
  • Key Notes 6 5:11
Chương 21 Build Hypermedia-Driven APIs
  • Why Hypermedia-Driven APIs? 8:55
  • Review HATEOAS, HAL and Link Relation 5:35
  • Update API Design Document (Version 1.1) 19:00
  • Understand Spring HATEOAS 10:28
  • Add Links for Base URI 31:28
  • Configure Jackson Object Mapper 15:26
  • Add Links for Realtime Weather APIs 30:15
  • Exercise: Add Links for Hourly Forecast APIs 6:34
  • Add Links for Daily Forecast APIs 18:22
  • Add Links for Full Weather Forecast APIs 18:23
  • Test APIs using Web Browser 9:10
  • Key Notes 7 2:32
Chương 22 Implement Pagination, Sort and Filter for APIs
  • Understand Updates for Location APIs 9:06
  • Update API Design Document (Version 1.2) 7:43
  • Implement Pagination and Sort for List Locations API 42:01
  • Validate Pagination and Sort Query Parameters 20:49
  • Add Page Metadata to Response 19:16
  • Add Pagination Links to Response 21:32
  • Exercise: Code Unit Tests for Pagination Links 7:31
  • Understand JPA Criteria API 17:38
  • Implement Pagination, Sort and Filter using JPA Criteria API 35:43
  • Get Total Row Count 15:10
  • Complete Coding of List Locations API 20:35
  • Integration Tests for List Locations API 16:15
  • Exercise: Add Links for Other Location APIs 7:40
  • Implement Advanced Sort 25:43
  • Code Refactor 4 17:47
  • Key Notes 8 3:02
Chương 23 Understand API Security
  • API Security Basics 8:18
  • Security Requirements for Weather APIs 3:49
  • A Brief Overview of OAuth 2.0 8:10
  • A Quick Introduction to JWT 7:48
  • Security Workflow of Weather APIs 9:02
  • Describe Security in API Design 20:07
Chương 24 Secure APIs with HTTP Basic
  • Understand HTTP Basic Authentication 3:27
  • Secure Hello World API with In-memory Users 21:47
  • Code Unit Tests for HTTP Basic Authentication 10:29
  • Secure Unit Conversion API with Database Users 35:22
  • Key Notes 9 2:22
Chương 25 Secure Student APIs with OAuth2 and JWT
  • Security Requirements for Student APIs 6:28
  • Why Using Custom Filter and Third-party JWT Library 6:10
  • Update Project to Use MySQL Database 3:46
  • Code Repository Layer for Student APIs 11:53
  • Update Controller Layer for Student APIs 5:20
  • Code JWT Utility Class 40:08
  • Update User Repository for Authentication 11:45
  • Configure User Authentication 16:31
  • Configure Spring Security Filter 7:21
  • Implement Get Access Token API 40:50
  • Test Get Access Token API with Postman 13:21
  • Implement Custom Security Filter 49:38
  • Test List Student API with Postman 4:17
  • Test JWT Authentication with Spring Security Test 28:48
  • Configure Authorization with Method Security 12:52
  • Test Remaining Student APIs with Postman 8:24
  • Implement Refresh Token API 32:40
  • Test Refresh Token API with Postman 8:09
  • Delete Expired Refresh Tokens 22:52
  • Key Notes 10 7:55
Chương 26 Develop Weather API Client Manager Application
  • Introduce Weather API Client Manager App 5:59
  • Understand Requirements 2:36
  • Understand Database Design 2:56
  • Get Referential Project Code 3:12
  • Set Up Weather API Client Manager App 9:07
  • Understand User Management Module 10:38
  • Understand User Registration Feature 7:08
  • Create System Client App 7:18
  • Create Updater Client App 8:41
  • Create Reader Client App 7:29
  • Understand Client App Management Module 10:43
  • Update Account Details 2:41
Chương 27 Secure Weather APIs
  • Review Security Requirement for Weather APIs 5:21
  • Implementation Notes 3:42
  • Add Spring Authorization and Resource Servers 6:19
  • Update Controller Tests 8:08
  • Update Repository Layer 9:40
  • Code Tests for Get Access Token API 10:29
  • Configure Persistent RSA Keys 10:21
  • Configure Spring Authorization Server 24:07
  • Customize Access Token Generation 15:21
  • Test Get Access Token with curl 5:09
  • Test Get Access Token with Postman 5:18
  • Configure Spring Resource Server 25:59
  • Test Security of Location APIs with Postman 16:39
  • Exercise: Secure Remaining APIs 3:53
  • Key Notes 11 3:17
Chương 28 Cache REST APIs
  • Introduction to Caching 9:24
  • Create a Run Configuration without Security 11:05
  • Understand Client-Side Cache 2:54
  • Use HTTP Expires Header 14:39
  • Use HTTP Cache-Control Header 14:19
  • Exercise: Implement Client-Side Cache 0:53
  • Use HTTP ETag Header 18:05
  • Use HTTP Last-Modified Header 24:02
  • Understand Server-Side Cache 3:54
  • Understand Spring Cache 3:34
  • Implement Server-Side Cache for Location APIs 37:16
  • Implement Server-Side Cache for Realtime Weather APIs 20:26
  • Spring Cache Exercise 5:55
  • Implement Server-Side Cache for Full Weather APIs 23:05

Requirment

  • Basic knowledge in web development with HTML, Javascript and CSS

  • Basic knowledge in Java Spring framework and Spring Boot

  • Basic knowledge in Java programming (Java core and Java web)

  • No prior knowledge in REST API required. I will teach you REST API development from the beginning

Outcomes

  • Understand Core Concepts of REST APIs

  • Understand REST API Design Best Practices

  • Design REST APIs with OpenAPI and Swagger

  • Write Code to Implement REST APIs with Spring Boot

  • Handle Error for REST APIs

  • Validate REST API Requests

  • Test REST APIs (Unit Tests, Integration Tests)

  • Secure REST APIs with Spring Security, JWT and OAuth2

  • Secure REST APIs with Spring Authorization and Resource Servers

  • Implement API Security Following OAuth2 Client Credentials Grant Type

  • Document REST APIs with Spring REST Docs

  • Deploy REST APIs on Cloud (Heroku, AWS, Google Cloud, Azure)

  • Cach REST APIs with Redis as Cache Server

  • Implement API Rate Limiting with Bucket4J

  • Build Different Kinds of REST Clients (Spring MVC, React, Android and Java Swing)

  • Implement Pagination, Sort and Filter for APIs

Instructor

...
Nam Ha Minh

0.0

  • ... 0 Student
  • ... 1 Course
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all