Sebastien Deleuze f28c4a1982 Add screenshot
2016-03-19 19:04:16 +01:00
2016-03-18 01:04:25 +01:00
2016-03-19 19:03:00 +01:00
2016-03-13 15:52:25 +01:00
2016-03-18 01:04:25 +01:00
2016-03-13 15:52:25 +01:00
2016-03-19 19:04:16 +01:00
2016-03-19 19:04:16 +01:00

This is a sample application that demonstrates how to build a Kotlin + Spring Boot applications with a PostgreSQL database.

It is used as a playground to demonstrate various features:

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, documentation should be available at http://localhost:8080/docs/index.html when run from the JAR.

Screenshot

Improvements I have in mind

  • Exposed issue #24: see if Exposed could support natively data classes + repository patten.
  • Exposed issue #25: allow to support SQL transaction with @Transactional.
  • Spring HATEOAS issue #401: add HATEOAS support, but without having to extend ResourceSupport or wrapping it into a Resource<Foo> container .
  • Kotlin issue KT-11235: avoid mandatory usage of arrayOf in annotation array attribute (for example in @SpringApplicationConfiguration(classes = arrayOf(Application::class)).
Description
No description provided
Readme 1.6 MiB
Languages
Kotlin 79.5%
JavaScript 16.9%
HTML 3.5%
CSS 0.1%