beer-database - werval sample application
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle
src
.gitignore
Procfile
README.md
beerdb-json-api-jmeter.jmx
beerdb-ui-tests.gif
build.gradle
gradlew
gradlew.bat
system.properties

README.md

Beer Database - Werval Sample Application

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.

BeerDB UI Tests

The application is deployed live at werval-beerdb.herokuapp.com.