This is an auction platform which allows you to offer articles and bid on them.
This project is part of the SVE (Service Engineering) course at FH Hagenberg.
To build the application and deploy it to JBoss (JBoss and MySql need to be running and the fhbay database needs to exist) execute the following command in the root of the project.
$ mvn clean install -DskipITs && mvn -pl fhbay-ear jboss-as:deploy
After the EAR file has been deployed you can execute the long running tests (Integration and EndToEnd) with the command:
$ mvn verify
Go to insert test data page to have the system insert:
- Categories
- Customers
- Articles
- Bids on some of the articles
After the insert has finished you will be redirected to the index page
+------------------+-----------+-------------+
| USERNAME | PASSWORD | ROLES |
+------------------+-----------+-------------+
| tom.seller | expensive | USER |
| bud.bidder | cheap | USER |
| admin | power | USER, ADMIN |
| otto.otherbidder | cheaper | USER |
+------------------+-----------+-------------+
Users can:
- Offer articles: offer article page
- Bid on articles: article details page (calls http://localhost:8080/fhbay-web/bid)
Admins can:
- View the bid history: bid history page
Anonymous (everyone) can:
- View categories: index (bottom left)
- List all articles: index
- List only articles in a certain category and its subcategories: category page
- List only articles in a certain subcategory: subcategory page
- View article details: article details page
- Search for articles by name and description: index page using the search form (top left)
- Search for articles by name and description that are in a certain category or one of its subcategories: index page using the search form (top left)
- Login using a username and password: index page using the login form (middle left)
fhbay-client-commons
- Contains common classes used by all the fhbay clients
fhbay-commons
- Contains classes used by fhbay-server and fhbay-web
fhbay-config
- Contains configuration files like standalone.xml for JBoss
fhbay-ear
- Assembles the EAR file for deployment to the Application Server.
fhbay-parent
- Contains common Maven configuration for all the modules.
fhbay-server
- Contains the Beans, DAOs and Business Logic of the application.
fhbay-web
- Contains the Web Client for the application.
- Assembles the WAR file.