daggerok / kotlin-coroutines-reactor-r2dbc

Kotlin coroutines Reactor Spring Boot Webflux R2DBC Postgres Flyway Maven example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

Kotlin coroutines Reactor Spring Boot Webflux R2DBC Postgres Flyway Maven example

License:MIT License


Languages

Language:Kotlin 81.3%Language:Java 12.5%Language:TSQL 6.2%