First Kotlin Example with Spring Boot.
Create postgres database named "kotlinExampledb"
From the command go to the project directory and type "mvn clean install"
Then run "mvn spring-boot:run" to run this project.
Also, in the properties file this line is used to print the json in pretty format.
#Pretty print Json response spring.jackson.serialization.indent-output=true