A Java backend app using Spark and the CrateDB JDBC driver.
You will need Java 8 and Apache Maven installed.
You will need CrateDB 0.57.0 or higher.
You can build the app like so:
$ mvn clean install
You can the app like so:
$ mvn exec:java -Dexec.mainClass="io.crate.jdbc.sample.App"
Then, open the app:
http://localhost:8080/
To run the application on a specific port, do this:
$ mvn exec:java -Dexec.mainClass="io.crate.jdbc.sample.App" -Dexec.args="8080"