| Start |
|---|
Application Class |
Book Model Just a note since a few things are going on here I wanted to break them down real quick. All of the annotations with @lombok are generating some of our class's boiler plate We also leveraged Validation in this Object |
Book Repository Basic Spring Repository pattern, except we enabled a Paging and Sorting Repository for extra features like.... paging and sorting ???? |
Enabling validation |
Loading some test data Just loading up some test data ideally this should be added only under a development profile. |
Adding the Validator |
Gradle Build File |
Read Article
https://develop.horje.com/learn/1434/reference