Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daggerok/kotlin-coroutines-reactor-r2dbc

Kotlin coroutines Reactor Spring Boot Webflux R2DBC Postgres Flyway Maven example
https://github.com/daggerok/kotlin-coroutines-reactor-r2dbc

docker-maven-plugin fabric8-maven-plugin flyway flyway-example flyway-maven-plugin flyway-migrations flyway-plugin flyway-postgresql flywaydb kotlin-coroutenes-reactor kotlin-coroutines r2dbc r2dbc-postgresql webflux

Last synced: 3 days ago
JSON representation

Kotlin coroutines Reactor Spring Boot Webflux R2DBC Postgres Flyway Maven example

Awesome Lists containing this project

README

        

# kotlin-coroutines-reactor-r2dbc [![Build Status](https://travis-ci.org/daggerok/kotlin-coroutines-reactor-r2dbc.svg?branch=master)](https://travis-ci.org/daggerok/kotlin-coroutines-reactor-r2dbc)
Kotlin coroutines Reactor Spring Boot Webflux R2DBC Postgres Flyway Maven example.

## getting started

```bash
./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](https://github.com/daggerok/main-starter)_

Motivated by:

- [Going Reactive with Spring, Coroutines and Kotlin Flow by SÉBASTIEN DELEUZE](https://spring.io/blog/2019/04/12/going-reactive-with-spring-coroutines-and-kotlin-flow)
- [YouTube: Spring Tips: Spring's Support for Kotlin Coroutines](https://www.youtube.com/watch?v=3xu5xttCrVk)