jooq/jOOQ-examples/jOOQ-spark-chart-example
2017-01-02 17:14:26 +01:00
..
src/main [#5754] Remove copyright (and dates) from file headers 2017-01-02 17:14:26 +01:00
.gitignore [#5371] Add an example project using Spark Java and Chart.js 2016-06-30 17:58:12 +02:00
LICENSE.txt [#5754] Remove copyright (and dates) from file headers 2017-01-02 17:14:26 +01:00
pom.xml Release 3.10.0-SNAPSHOT 2016-12-23 16:36:19 +01:00
README.md Update README.md 2016-06-30 18:08:12 +02:00

Thanks for downloading jOOQ. Please visit http://www.jooq.org for more information.

Description

This example uses

  1. Flyway for database installation
  2. Spark Java as a web server
  3. chart.js as an HTML5 charting library
  4. jOOQ for reporting

The whole thing then looks like this:

animation

Installation

To install and run this example, simply check it out and follow these steps

  1. Create a "Sakila" database on your PostgreSQL instance
  2. Edit src/main/resources/config.properties and configure your database instance
  3. Run the following commands
$ pwd
/path/to/checkout/dir
$ cd jOOQ-examples/jOOQ-spark-chart-example
...
$ mvn clean install
...