Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkdika/spring-rx2-jdbc
Spring Boot 2 WebFlux and Reactive RDBMS Connection using Rx2 JDBC
https://github.com/mkdika/spring-rx2-jdbc
ansible rx2jdbc rx2jdbc-postgresql spring-boot-2 spring-framework vagrant webflux
Last synced: 2 days ago
JSON representation
Spring Boot 2 WebFlux and Reactive RDBMS Connection using Rx2 JDBC
- Host: GitHub
- URL: https://github.com/mkdika/spring-rx2-jdbc
- Owner: mkdika
- License: mit
- Created: 2019-10-09T00:40:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-11T23:55:31.000Z (over 5 years ago)
- Last Synced: 2024-12-04T06:11:52.730Z (2 months ago)
- Topics: ansible, rx2jdbc, rx2jdbc-postgresql, spring-boot-2, spring-framework, vagrant, webflux
- Language: Kotlin
- Size: 59.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spring Rx2 JDBC
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](/LICENSE)
Spring Boot 2 WebFlux and Reactive RDBMS Connection using Rx2Java JDBC, with CRUD as usecase.
### Stacks
- [Kotlin 1.3.50](https://blog.jetbrains.com/kotlin/2019/08/kotlin-1-3-50-released/)
- [Spring Boot 2.2.x](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2-Release-Notes)
- [Rx2Java JDBC v0.2.5](https://github.com/davidmoten/rxjava2-jdbc), RxJava2 integration with JDBC including Non-blocking Connection Pools.
- Postgresql 10
- Gradle 5.6.2 + Kotlin DSL
- Vagrant + Ansible, for bootstrap & provisioning the development environment.### Running application
- __Provision dev env with Vagrant__
```bash
# Starting vagrant vm and provision for first time
vagrant up# Re-provisioning vagrant
vagrant provision
```- __Running application__
```bash
./gradlew bootRun
```Url is: `http://localhost:8084/`
### REST API Endpoints
| 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
License under the MIT license. See [LICENSE](/LICENSE) file.