An online watch E-store system built in Java 8=>11 and JavaScript
- Aparnaa Senthilnathan (me!)
- Bishop Oparaugo
- Luke Wyland
- Nate Mount
- Richard Wituszynski
- Java 8=>11 (Make sure to have correct JAVA_HOME setup in your environment)
- Maven
- Node.js
- npm package manager (Installed with node.js)
- Clone the repository and go to the root directory.
- Start REST API by Executing,
mvn -f estore-api/pom.xml compile exec:java. - Start Angular App by Executing,
ng serve --openin the "angular-estore-ui" directory.npm installmay need to be ran prior to the prior command.
(It may be the case that your implementation is not perfect.)
Document any known bug or nuisance. If any shortcomings, make clear what these are and where they are located.
The Maven build script provides hooks for run unit tests and generate code coverage reports in HTML.
To run tests on all tiers together do this:
- Execute
mvn -f estore-api/pom.xml clean test jacoco:report - Open in your browser the file at
PROJECT_API_HOME/target/site/jacoco/index.htmlor navigate to "\team-project-swen-261-04-team-4\estore-api\target\surefire-reports" for the individual test results.
To run tests on a single tier do this:
- Execute
mvn clean test-compile surefire:test@tier jacoco:report@tierwheretieris one ofcontroller,model,persistence - Open in your browser the file at
PROJECT_API_HOME/target/site/jacoco/{controller, model, persistence}/index.html
To run tests on all the tiers in isolation do this:
- Execute
mvn exec:exec@tests-and-coverage - To view the Controller tier tests open in your browser the file at
PROJECT_API_HOME/target/site/jacoco/model/index.html - To view the Model tier tests open in your browser the file at
PROJECT_API_HOME/target/site/jacoco/model/index.html - To view the Persistence tier tests open in your browser the file at
PROJECT_API_HOME/target/site/jacoco/model/index.html
*(Consider using mvn clean verify to attest you have reached the target threshold for coverage)
- Access the
PROJECT_DOCS_HOME/directory - Execute
mvn exec:exec@docs - The generated PDF will be in
PROJECT_DOCS_HOME/directory
- Tester, first obtain the Acceptance Test plan
- IP address of target machine running the app
- Execute ________
- ...
- ...
MIT License
See LICENSE for details.