All requirements have been completed and some extra functionality has been added. When I used inspiration or copied code, I specified the source in the current file or above the methods. All the pom.xml files that were created with inspiration from the Course Repository
Run "LocalApplicationRunner" and it will run on localhost:8080
- Administrator
- Email: admin@admin.com
- Password: a
- User
- Email: foo@bar.com
- Password: a
> mvn clean install
If the dependencies have been downloaded then you can just run:
> mvn verify
The exam states that the ratings are some kind of "stars", but I chose not to display visual stars as that would just be design work but rather use the data type Integer/int to represent stars where the valid values would be from 1-5 as stated in the exam. When the average is displaying the value i'm using Double with no limit on the decimals because this is not stated in the exam.
I got the movie information from imdb.com Top 250. I just picked some of the first items displayed to populate my items as the default information.
I have added an administrator option to the user. The administrator has access to enable/disable user accounts and create new items. This is the tests for the administrator extra:
public void testDisableAndEnableUser()
public void testCreateItem()
I added sorting on the average, as extra i added the sorting to work on the data type Double and down to 0.01. I also added the the filtering to work with categories and as extra the filtering also works with new created items that have a completely new category. These extras is tested by:
public void testItemSorting()
public void testFilterItems()
Frontend: 91%
Backend: 97%
Total: 95%