A backend application written in Java, using Spark and the CrateDB JDBC driver.
- You will need CrateDB installed and running locally.
- You will need Java 8 and Apache Maven installed.
Build the application:
mvn clean install
Invoke the application:
mvn exec:java -Dexec.mainClass="io.crate.jdbc.sample.App"
Then, open the application:
open http://localhost:8080/
Run the application on a specific port:
mvn exec:java -Dexec.mainClass="io.crate.jdbc.sample.App" -Dexec.args="8080"