A tiny REST service powered by pure PostgreSQL JDBC, Undertow and GSON only, which takes just 3.6 Mb as a fat-jar.
-
Access logging - simple access logging;
-
JDCB wrapper - sugar syntax wrapper around JDBC-driver;
-
Schema migration - database migration util inspired by flyway;
-
Exception handling - wrapper around routing handlers, which allows catch and handle service different exceptions;
-
JSON encode/decode - simple wrapper for serializing and deserializing JSON requests/responses;
-
Simple tests - bash-script, which starts PostgreSQL, the REST service and httpie test-requests.