Spring Boot 2 WebFlux and Asynchronous RDBMS Connection using R2DBC, with CRUD as usecase.
- Kotlin 1.3.50
- Spring Boot 2.2.x
- r2dbc 0.8.0.RC1, Reactive Relational Database Connectivity.
- Netty 4.1
- Postgresql 10
- Maven 3.6.0
- Vagrant + Ansible, for bootstrap & provisioning the development environment.
-
Provision dev env with Vagrant
# Starting vagrant vm and provision for first time vagrant up # Re-provisioning vagrant vagrant provision
-
Running application
./mvnw spring-boot:run
Url is:
http://localhost:8084/
HTTP Method | Path | Description |
---|---|---|
GET | /persons | Get all existing person data. |
GET | /persons/{id} | Get existing person data by Id. |
POST | /persons | Insert new person data. |
PUT | /persons/{id} | Update existing person data by Id. |
DELETE | /persons/{id} | Delete existing person data by Id. |
GET | /ping | Testing endpoing. |
License under the MIT license. See LICENSE file.