This is the demo of how you can use vertx-cassandra-client by real example.
-
Before running the example you should ensure that cassandra service running locally on port 9042. As a option you can run cassandra with ccm(Cassandra Cluster Manager). Follow this instructions for installing ccm. After installing you will be able to run a single node cluster:
ccm create rss_reader -v 3.11.2 -n 1 -s ccm start
-
Building vertx-cassandra-client locally:
git clone https://github.com/Sammers21/vertx-cassandra-client cd vertx-cassandra-client mvn clean install -Dmaven.test.skip=true -s .travis.maven.settings.xml -
Running the app:
./gradlew vertxRun
You may also noted that we are using vertx-gradle-plugin for running the app. It means that the app will be reloaded automatically when code changes.
-
Now you can open your browser and go to
localhost:8080