Minimal Webservice with data classes and spring boot data rest

Spring Boot Data REST and Kotlin data classes enable an very code efficient way to provide CRUD Interfaces. We will create a small webservice for managing persons. Setting up For this tutorial we will use gradle with kotlin dsl to build the application. mkdir spring_data_class cd spring_data_class gradle init --dsl kotlin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 plugins { kotlin("jvm") version "1.
Read more...