Angular 16 + Spring Boot + MySQL: CRUD example

In this tutorial, we will learn how to build a full stack Angular 16 + Spring Boot + MySQL example with a CRUD App. The back-end server uses Spring Boot with Spring Web MVC for REST Controller and Spring Data JPA for interacting with MySQL database. Front-end side is made with Angular 16, HTTPClient, Router and Bootstrap 4.

Older versions:
Angular 10 + Spring Boot + MySQL CRUD example
Angular 11 + Spring Boot + MySQL CRUD example
Angular 12 + Spring Boot + MySQL CRUD example
Angular 13 + Spring Boot + MySQL CRUD example
Angular 14 + Spring Boot + MySQL CRUD example
Angular 15 + Spring Boot + MySQL CRUD example

Security: Angular 16 + Spring Boot: JWT Authentication example

Upload: Angular + Spring Boot: File upload example

Pagination: Angular + Spring Boot: Pagination example

Read More

Spring Boot + Angular 16 example: CRUD

In this tutorial, we will learn how to build a full stack Spring Boot + Angular 16 example with a CRUD Application. The back-end server uses Spring Boot with Spring Web MVC for REST Controller and Spring Data JPA for interacting with embedded database (H2 database). Front-end side is made with Angular 16, HttpClient, Router and Bootstrap 4.

Run both Project on same server/port:
How to Integrate Angular with Spring Boot Rest API

Security: Angular + Spring Boot: JWT Authentication example

Upload: Angular + Spring Boot: File upload/download example

Pagination: Angular + Spring Boot: Pagination example

Read More

Spring Boot custom Validation example

Data validation is very important. It conforms to the expected format, type, range, and business rules, as well as identify and prevent errors, inconsistencies, and fraud. When we need to perform data validation that cannot be handled by the built-in validation annotations provided by Spring Framework, we can use custom validation to define our own rules and constraints. In this tutorial, I will show you how to implement custom Validation annotation in Spring Boot example (with Rest API).

More Practice:
Spring Boot Validation annotations
Spring Boot Login and Registration example
Spring Boot 3 Rest API CRUD example
Spring Boot @ControllerAdvice & @ExceptionHandler example
Spring Boot Unit Test for Rest Controller
– Documentation: Spring Boot Swagger 3 example
– Caching: Spring Boot Redis Cache example

Read More