/kotlin-spring-boot-data-rest

Demonstrate Kotlin, Spring Boot, Spring Data JPA and Spring Data REST all together

Primary LanguageKotlin

Kotlin + Spring Boot + Spring Data REST

Take a look at the http://0.0.0.0:8080/restaurants for the backend generated by Spring Data REST from the RestaurantRepository interface declaration it found.

For explicitly defined endpoints, HelloController annotations produced http://0.0.0.0:8080/hello and http://0.0.0.0:8080/count .

Build with mvn clean package, which packages all the dependencies + an embedded web server into a runnable JAR.

Then in production, just run the JAR, with any command line parameters you'd want. They match the application.yml settings.