Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jovannypcg/rassandra
Application that demonstrates reactive Cassandra in action
https://github.com/jovannypcg/rassandra
Last synced: 21 days ago
JSON representation
Application that demonstrates reactive Cassandra in action
- Host: GitHub
- URL: https://github.com/jovannypcg/rassandra
- Owner: jovannypcg
- Created: 2018-06-11T01:27:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-11T03:37:41.000Z (over 6 years ago)
- Last Synced: 2024-11-02T02:42:40.556Z (2 months ago)
- Language: Java
- Size: 64.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rassandra
Application that demonstrates how Cassandra reactive repositories work along with WebFlux.
## Requirements
* Java 10
* Docker## Setup
Docker images for Cassandra and the application itself are provided at the `src/main/docker` directory, as well as the necessary bash scripts to initialize the containers at `src/main/bash`.
1. Build Java artifact
```shell
$ ./gradlew clean build -x test
```2. Create Docker images
```shell
$ docker-compose build
```3. Start up the containers
```shell
$ docker-compose up
```4. In order to build the images and start up the containers in the same command, type
```shell
$ docker-compose up --build
```## Testing
The `RassandraApplication` class has some statements that insert data into Cassandra.
Once the containers have started, go to http://localhost:3000/people
## Author
* **Jovanny Cruz** -- [jovannypcg](https://github.com/jovannypcg)