All Projects → sdeleuze → Geospatial Messenger

sdeleuze / Geospatial Messenger

Geospatial messenger application written with Spring Boot + Kotlin + PostgreSQL

Programming Languages

kotlin
9241 projects

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:

A 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!

Run the application

  • Install a PostgreSQL database with PostGis extension, on Mac you can use Postgresapp.
  • Clone this repository.
  • Customize database configuration on application.yml.
  • Run it within your IDE or with ./gradlew bootRun.
  • Open http://localhost:8080/ in your browser. Screenshot
  • Documentation should be available at http://localhost:8080/docs/index.html when run from the JAR.

Improvements I have in mind

  • Exposed issue #24: see if Exposed could support natively data classes + repository patten.
  • Spring HATEOAS issue #401: add HATEOAS support, but without having to extend ResourceSupport or wrapping it into a Resource<Foo> container .
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].