bastman / spring-kotlin-jdbi

playground for spring-boot, kotlin , jdbi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-kotlin-jdbi

playground for spring-boot, kotlin , jdbi

status

  • under development

build and run playground (docker)

    $ make -C rest-api app.compose.up

build

    $ make -C rest-api app.build

run local db (docker)

    $ make -C rest-api db.local.up

run from Intellij

VM options: -Dspring.profiles.active=local
Environment variables: APP_DB_URL=localhost:5432/app
    # make sure, you have our db running on that port, e.g.:
    $ make -C rest-api db.local.up

This example project is based on ...

Whats wrong with orm, jpa, hibernate and in-memory h2-db these days ?

There is no silver bullet. It's born in a world of single-instance big fat application servers. It hardly fits into a modern world of:

  • functional programming: e.g. immutable threadsafe pojos / data classes
  • CQRS and eventsourcing
  • horizontal scaling of polyglot microservices

Make up your mind ...

About

playground for spring-boot, kotlin , jdbi


Languages

Language:Kotlin 73.3%Language:Makefile 16.4%Language:Shell 10.4%