Geospatial messenger application written with Spring Boot + Kotlin + PostgreSQL
This is a sample application that demonstrates how to build a Kotlin + Spring Boot applications with a PostgreSQL database. The code is very concise, and the generated application is a 18 MBytes self-contained executable jar with low memory consumption.
A detailed blog post describing this application is available here.
It is used as a playground to demonstrate various features:
@GetMapping
and @PostMapping
annotation shortcuts, as well as Server-Sent EventsA Spring Data version based on spring-data-jdbc-repository is also available in this branch. There is no Spring Data JPA version yet but feel free to fork this repo and contribute it with a pull request!
./gradlew bootRun
.http://localhost:8080/
in your browser.http://localhost:8080/docs/index.html
when run from the JAR.ResourceSupport
or wrapping it into a Resource<Foo>
container .