A sample of Spring boot WebFlux and Kotlin Coroutine with Handler and Router. In this sample, implementing Todo model, handler and router with database (MySQL) testing.
- Java 17
- Docker 4.26.1 >=
- gradle 8.1.1 >=
Please make sure Docker is up and running.
$ make run
application.yml
will be referred for the configuration. This command does
- Build Docker image with the implementation
- Spin up MySQL and Springboot application (this application) by
docker-compose
$ make devDB
$ make devBoot
application-local.yml
will be referred for the configuration.
make devDB
only spins up MySQL, and make devBoot
run this application by development mode via gradle
.
$ gradle test --info
$ make clean
This command cleans up database.
http://localhost:8080/webjars/swagger-ui/index.html
You can run all commands by using Makefile. All available commands is displayed by typing,
$ make help