Spring Rest API Validation, Exception Handling 2, Spring Boot Tutorial, Coding Session 13, BibBobBib

Опубликовано: 27 Октябрь 2023
на канале: Coding With BibBobBib
241
7

HEJA coding people, I hope you're well,
WELCOME to this small coding exercise video ;)

THANK YOU
for being here, I hope you're well!

CONTENT
Let's continue with our spring rest api validation project. In the last session I had the coding session with Java Bean valitation and Spring Boot Rest Application.
In this session I build the example on the result of the last exercise and continue with validation topic. This time I tried custome constraints, by creating own annotation and validator. I tested the application using Postman.

LAST CODING SESSION
Part 1 +    • Spring Rest API Validation, Exception Hand...  

NOT TO MISS MOMENTS
00:00 Intro - topic coding session 13
00:09 Preview - last session - Part 1 - spring rest validation using Bean Validation
00:32 Today - this session - Part 2 - spring and custom constraints
00:55 Coding base - example project
01:02 Coding - create java annotation
01:37 Coding - create java validator by implementing ConstraintValidator
02:35 Coding - add validation to the annotation
03:19 Coding - add validation logic to the validator
03:31 Coding - add new method in service for this usecase
04:14 Coding - use annotation on the field in java entity
04:25 Coding - add new Post-Request to the RestController, using the new created service method
05:11 Testing - test the usecase using postman
06:08 Outro - more coding sessions

TOOLS
Intellij IDEA Community Edition Version 2023.2, postman

FRAMEWORKS
spring boot, rest, maven, java 17, jakatra.validation.*

SUSBCRIBE FOR MORE VIDEOS
   / @codingwithbibbobbib  

STAY CONNECTED
https://bento.me/annadamer

MUSIC
music licensed with: Epidemic Sound
https://www.epidemicsound.com

IDEAS
IYou have some ideas of making a coding video? Let me know!

COLLABORATE
Want to collaborate? Let’s chat!

WATCH - ENJOY - LIKE - COMMENT - SUPPORT - SUBSCRIBE - THANK YOU ;)
#codingwithbibbobbib #springboot #spring #coding #howto #livecoding #postman #restapi #springboot #springboottutorial #validation #exceptionhandling #restapis #constraints #annotations


На этой странице сайта вы можете посмотреть видео онлайн Spring Rest API Validation, Exception Handling 2, Spring Boot Tutorial, Coding Session 13, BibBobBib длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Coding With BibBobBib 27 Октябрь 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 241 раз и оно понравилось 7 зрителям. Приятного просмотра!