U-Fund: Coral Reefs
An online U-Fund system built in Java 21 and Angular 19
Team
- Ben Almstead
- Tyler Ferrari
- Hayden Hartman
- Akash Keshav
- Angelina Zhen
Prerequisites
- Java 21 (Make sure to have correct JAVA_HOME setup in your environment)
- Maven
- Angular 19
How to run it
- Clone the repository and CD into the unfund-api.
- Execute
mvn compile exec:java
- CD into the ufund-ui directory in a new terminal
- Execute
ng serve -o
- Open in your browser
http://localhost:4200/
Known bugs and disclaimers
(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.
How to test it
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:
- CD into ufund/api
- 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)
How to generate the Design documentation PDF
- Access the
PROJECT_DOCS_HOME/
directory - Execute
mvn exec:exec@docs
- The generated PDF will be in
PROJECT_DOCS_HOME/
directory
How to setup/run/test program
- Tester, first obtain the Acceptance Test plan
- Run the batch file
License
MIT License
See LICENSE for details.