spring boot rest services data validation - live coding

Publicado em: 26 Agosto 2018
no canal de: tech prudent
1,022
5

====================================
Contact and feedback:

   / @techprudent4241  
https://github.com/TechPrudent/
techprudent91@gmail.com
https://trello.com/b/8QKy3byG/techpru...
https://techprudent91.blogspot.com/
  / techprudents  
  / techprudent  
  / tech-prudent-37831216b  
https://plus.google.com/u/0/114035390...

====================================
Spring boot rest service data validation - live coding
======================================================

start.spring.io
web, jpa, mysql

controller, repository, entity
add validations to entity
create a customer

{
"name": "techprudent",
"age": 18,
"email": "techprudent91@gmail.com",
"contact": "1234567890",
"gender": "male"
}

@NotNull(message="enter name") @Size(min=2, max=50)
@Min(value=18, message="age should be more than 18")
@Email(message="Email id is not valid")
@Size(min=10, max=10)
@NotEmpty(message="enter gender data")

POST: http://localhost:8080/customer/create


Nesta página do site você pode assistir ao vídeo on-line spring boot rest services data validation - live coding duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário tech prudent 26 Agosto 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,022 vezes e gostou 5 espectadores. Boa visualização!