This sample is backed by an EclipseLink JPA 2 store for breweries and beers. It expose a JSON api consumed by an AngularJS front-end.
To run in development mode: gradle devshell
To run in production mode: gradle start
To run tests: gradle check
To build a production distribution: gradle distZip
To see all available tasks: gradle tasks
In development and test modes, the JPA 2 store is an in-memory H2 database. A production configuration that use PostgreSQL is provided.
Database schema migration is done using Liquibase. Initial data and test fixtures are loaded using Fixy.
Acceptance tests against the JSON api are implemented using rest-assured. A JMeter scenario to load-test the JSON api is provided.
Acceptance tests against the AngularJS front-end are implemented using FluentLenium.
The application is deployed live at werval-beerdb.herokuapp.com.