Spring Boot: Mastering REST API Development

8h 59m 26s
English
Paid

Course description

Spring Boot is one of the most in-demand frameworks for modern backend development. This course will take you beyond the basics and help you confidently develop, secure, and deploy real-world applications.

This is the second part of an extensive course on Spring Boot. In the first part, you mastered the basics, and now it's time to apply your knowledge in practice by creating and deploying a backend for a full-fledged e-commerce application.

You will learn how to create clean and secure REST APIs, implement authentication and role-based access control, integrate with Stripe for payment processing, and deploy the application in the cloud.

Read more about the course

This course goes beyond the standard CRUD. We will focus on clean code, modular architecture, and best practices applied in real-world projects.

Who is this course for?

Those preparing for interviews, planning to create their own application, or wanting to elevate their backend development skills to a professional level.

You will learn how to:

  • Develop REST API using Spring Boot
  • Validate requests and handle errors with custom logic
  • Secure the API with Spring Security and JWT
  • Implement role-based access control
  • Structure the application according to clean architecture principles
  • Create a shopping cart system and a full checkout process
  • Integrate Stripe for accepting real payments
  • Configure environments using Spring Profiles
  • Deploy the application and database to the cloud
  • Write clean, testable, and production-ready code

What you will build:

A full-fledged backend for an e-commerce platform: including authentication, roles, shopping cart, checkout process, Stripe integration, and cloud deployment.

This is not just an educational CRUD project - it's a real application that is close to professional development.

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 104 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing

Watch Online Spring Boot: Mastering REST API Development

0:00
/
#1: 1 - Welcome

All Course Lessons (104)

#Lesson TitleDurationAccess
1
1 - Welcome Demo
01:33
2
2- What You'll Learn
02:11
3
3- Prerequisites
01:18
4
4- Starter Project
04:09
5
5- How to Take This Course
01:22
6
1- Introduction
00:51
7
2- How the Web Works
05:12
8
3- What is Spring MVC
01:38
9
4- Creating a Controller
04:15
10
5- View Templates
03:27
11
6- Passing Data to Views
02:00
12
7- Building an API
04:29
13
1- Introduction
00:58
14
2- Creating Your First RESTful API
04:01
15
3- Calling APIs with Postman
02:36
16
4- Creating Dynamic Routes
03:29
17
5- Setting HTTP Status Codes
03:03
18
6- Data Transfer Objects
04:51
19
7- Mapping Objects Using MapStruct
04:56
20
8- Customizing Reponse Data
05:02
21
9- Extracting Query Parameters
08:14
22
10- Exercise- Building Product Endpoints
10:20
23
11- Extracting Request Headers
02:51
24
12- Extracting Request Body
03:18
25
13- Creating Resources
09:27
26
14- Updating Resources
05:47
27
15- Deleting Resources
01:54
28
16- Handling Action-Based Updates
04:55
29
17- Exercise- Building a CRUD API
11:15
30
1- Introduction
00:49
31
2- Introduction to Jakarta Validation
03:52
32
3- Handling Validation Errors
05:13
33
4- Global Error Handling
01:44
34
5- Implementing Custom Validation
04:39
35
6- Validating Business Rules
03:16
36
1- Introduction
01:01
37
2- Creating Database Tables
08:06
38
3- Creating Entities
06:32
39
4- Creating a Cart
06:04
40
5- Adding a Product to the Cart
12:52
41
6- Getting a Cart
10:24
42
7- Updating a Cart Item
08:40
43
8- Refactoring Towards an Object-Oriented Design
06:17
44
9- Removing a Product from the Cart
04:48
45
10- Clearing a Cart
01:54
46
11- Extracting a Service
12:30
47
12- Documenting APIs with Swagger
04:35
48
1- Introduction
00:53
49
2- Authentication Methods
05:21
50
3- Adding Spring Security
01:14
51
4- Configuring Security Settings
07:35
52
5- Hashing Passwords
02:51
53
6- Exercise- Building the Login API
04:52
54
7- Working with AuthenticationManager
11:18
55
8- Generating JSON Web Tokens
06:19
56
9- Managing Secrets
08:04
57
10- Validating JSON Web Tokens
07:16
58
11- Understanding Filters
03:07
59
12- Implementing a Custom Filter to Validate JWTs
08:56
60
13- Accessing the Current User
03:40
61
14- Exercise- Enhancing the JWT Payload
06:21
62
15- Understanding Refresh Tokens
01:52
63
16- Issuing Refresh Tokens
04:57
64
17- Externalizing JWT Configuration
04:56
65
18- Refreshing Access Tokens
07:58
66
19- Adding Role to Users
05:45
67
20- Role-based Authorization
08:34
68
21- Exercise- Refactoring the JwtService
12:41
69
22 - Logging Out Users
01:37
70
23- Using Auth Providers
02:11
71
1- Introduction
00:55
72
2- Creating Database Tables
04:52
73
3- Creating Entities
05:52
74
4- Checking Out
14:25
75
5- Organizing API Tests with Postman Collections
12:04
76
6- Improving Error Handling
05:01
77
7- Refactoring Towards an Object-Oriented Design
03:56
78
8- Extracting a Service
05:57
79
9- Getting Orders
10:25
80
10- Getting a Single Order
10:30
81
1- Introduction
00:51
82
2- Overview of the Checkout Process
03:09
83
3- Adding Stripe to the Project
03:30
84
4- Creating a Checkout Session
09:45
85
5- Handling Stripe Erorrs
07:12
86
6- Decoupling from Stripe
10:41
87
7- Building a Webhook Endpoint
06:49
88
8- Testing the Webhook Endpoint
05:08
89
9- Updating Order Status
04:59
90
10- Refactoring the Webhook Logic
17:48
91
11- Organizing Code by Feature
03:22
92
1- Introduction
00:49
93
2- Deploying the Database
02:35
94
3- Managing Environments with Spring Profiles
03:57
95
4- Packaging the App for Production
05:23
96
5- Pushing Your Code to GitHub
01:46
97
6- Deploying the App
01:16
98
7- Configuring Production Environment Variables
04:38
99
8- Testing with Postman Environments
02:14
100
9- Populating the Database
02:53
101
10- Revisiting the Security Rules
02:29
102
11- Modularizing Security Rules
05:53
103
12- Registering the Webhook Endpoint with Stripe
07:01
104
1- Thank You
00:25

Unlock unlimited learning

Get instant access to all 103 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Books

Read Book Spring Boot: Mastering REST API Development

#Title
11.6- Questions and Support
21.7- Connect with Me
32.8- Summary - Introduction to Spring MVC
43.18- Buliding RESTful APIs
54.7- Summary - Validating API Requests
66.24- Summary - Securing APIs with Spring Security
78.12- Final Refactorings
89.13- What-s Next

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

Master Spring 6 Spring Boot 3 REST JPA Hibernate

Master Spring 6 Spring Boot 3 REST JPA Hibernate

Sources: udemy
'Master Spring framework, Spring Boot, REST, JPA, Hibernate' course will help in understanding about Spring framework and how to build web applications, Rest Services using Spri...
36 hours 15 minutes 18 seconds
Full Stack HATEOAS: Spring Boot 2.1, ReactJS, Redux

Full Stack HATEOAS: Spring Boot 2.1, ReactJS, Redux

Sources: udemy
Full Stack introduction to HATEOAS. In this course, you will learn the core concepts of HATEOAS as well as how to leverage this on a ReactJS Application. HATEOAS stands for: Hyp...
5 hours 51 minutes 37 seconds
Spring Boot E-Commerce Ultimate Course

Spring Boot E-Commerce Ultimate Course

Sources: udemy
I'm very glad that you have found the most sophisticated and comprehensive course ever on web development with Java and Spring Boot. In this course, you will le
83 hours 14 minutes 29 seconds
Spring Framework 5: Beginner to Guru

Spring Framework 5: Beginner to Guru

Sources: udemy
Learn Spring with the most modern and comprehensive course available for Spring Framework 5 and Spring Boot 2. You will see how to build multiple real world applications using S...
56 hours 53 minutes 21 seconds
OAuth 2.0 in Spring Boot Applications

OAuth 2.0 in Spring Boot Applications

Sources: udemy
This video course is for beginner Java developers who are interested in learning how to secure OAuth 2.0 Resources in Spring Security 5. The course covers only
10 hours 54 minutes 34 seconds