/kotlin-coroutines-reactor-r2dbc

Kotlin coroutines Reactor Spring Boot Webflux R2DBC Postgres Flyway Maven example

Primary LanguageKotlinMIT LicenseMIT

kotlin-coroutines-reactor-r2dbc Build Status

Kotlin coroutines Reactor Spring Boot Webflux R2DBC Postgres Flyway Maven example.

getting started

./mvnw docker:start

./mvnw process-resources flyway:migrate

./mvnw
java -jar target/*-SNAPSHOT.jar

# regular kotlin webflux
http :8080/employees name=ololo salary=123
http :8080/employees

# kotlin-coroutines-reactor api
http :8080/api/coroutines/employees name=ololo salary=123
http :8080/api/coroutines/employees/1
http :8080/api/coroutines/employees/not-found

./mvnw docker:stop

NOTE: This project has been based on GitHub: daggerok/main-starter

Motivated by: