Note
This repository serves to preserve our group project for Introduction of Software Engineering at RIT.
An online charity E-store system built in Java 21=> and Angular 17.
- Howard Kong
- Austin Kunkel
- Ethan Ricker
- Christopher Brooks
- Java 21 (Make sure to have correct JAVA_HOME setup in your environment)
- Maven
- Angular 17
- SHA512 npm package. Install with
npm install --save sha512-crypt-ts
- Clone the repository and navigate to the root directory.
cd
into./ufund-api
- Execute
mvn compile exec:java
. This will start the REST API backend. - Open another terminal window.
cd
into./ufund-ui/angular-ufund-ui/
- Execute
ng serve --open
. This will start the Angular frontend. - Open
http://localhost:4200/home
in your browser (if not already opened)
(It may be the case that your implementation is not perfect.)
Warning
UI/UX has not been properly designed and implemented
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 clean test jacoco:report
- Open in your browser the file at
PROJECT_API_HOME/target/site/jacoco/index.html
To run tests on a single tier do this:
- Execute
mvn clean test-compile surefire:test@tier jacoco:report@tier
wheretier
is 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
MIT License
See LICENSE for details.