Git Product home page Git Product logo

bezkoder / spring-boot-custom-validation Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 5.0 63 KB

Custom Validation in Spring Boot example - Spring Boot custom validation annotation example - Spring Boot Rest API Validation

Java 100.00%
custom-annotation custom-annotations custom-validation custom-validators spring spring-boot spring-boot-starter-validation spring-boot-validation spring-validation springboot

spring-boot-custom-validation's Introduction

Spring Boot Custom Validation example

Custom Validation annotation in Spring Boot example (with Rest API). We will implement 2 custom validation annotations:

  • @StrongPassword: check if string is 8 characters long and combination of uppercase letters, lowercase letters, numbers, special characters.
  • @PasswordMatching: check if the password and confirm password are the same.

For more detail, please visit:

Spring Boot Custom Validation example

More Practice:

Spring Boot Redis Cache example

Document Spring Boot Rest API with Swagger 3 example

Spring Boot File upload example with Multipart File

Spring Boot Pagination & Filter example | Spring JPA, Pageable

Spring Data JPA Sort/Order by multiple Columns | Spring Boot

Spring Boot Repository Unit Test with @DataJpaTest

Deploy Spring Boot App on AWS โ€“ Elastic Beanstalk

CRUD Rest API with Databases:

Spring Boot 3 REST API example

Spring Boot Rest API with H2

Spring Boot Rest API with MySQL

Spring Boot Rest API with PostgreSQL

Spring Boot Rest API with SQL Server

Spring Boot Rest API with MongoDB

Spring Boot Rest API with Cassandra

Spring Boot Rest API with Oracle

Exception Handling:

Spring Boot @ControllerAdvice & @ExceptionHandler example

@RestControllerAdvice example in Spring Boot

Security:

Spring Boot + Spring Security JWT Authentication & Authorization

Fullstack:

Vue + Spring Boot example

Angular 8 + Spring Boot example

Angular 10 + Spring Boot example

Angular 11 + Spring Boot example

Angular 12 + Spring Boot example

Angular 13 + Spring Boot example

Angular 14 + Spring Boot example

Angular 15 + Spring Boot example

React + Spring Boot + MySQL example

React + Spring Boot + PostgreSQL example

Run both Back-end & Front-end in one place:

Integrate Angular with Spring Boot Rest API

Integrate React.js with Spring Boot Rest API

Integrate Vue.js with Spring Boot Rest API

Run Spring Boot application

mvn spring-boot:run

spring-boot-custom-validation's People

Contributors

tienbku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.