Skip to content

dm9965/estore-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

208 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-Store: Sevens Shoe Store

Modify this document to expand any and all sections that are applicable for a better understanding from your users/testers/collaborators (remove this comment and other instructions areas for your FINAL release)

An online E-store system built in Java 11+Maven and NodeJS+Angular

Team

  • Domenic Mangano
  • Zach Kroesen
  • Lucas Romero
  • Connor Bastian
  • Uttam Bhattarai

Prerequisites for development environment

  • Java 11
  • Maven
  • Node.JS 18.x or higher
  • Angular CLI installed

Starting the development environment

  1. Clone the repository and go to the project directory.
  2. To run the backend, cd estore-api; mvn compile exec:java
  3. To run the frontend, cd estore-ui; npm i; npm start
  4. 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:

  1. Execute mvn clean test jacoco:report
  2. Open in your browser the file at PROJECT_API_HOME/target/site/jacoco/index.html

To run tests on a single tier do this:

  1. Execute mvn clean test-compile surefire:test@tier jacoco:report@tier where tier is one of controller, model, persistence
  2. 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:

  1. Execute mvn exec:exec@tests-and-coverage
  2. To view the Controller tier tests open in your browser the file at PROJECT_API_HOME/target/site/jacoco/model/index.html
  3. To view the Model tier tests open in your browser the file at PROJECT_API_HOME/target/site/jacoco/model/index.html
  4. 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

  1. Access the PROJECT_DOCS_HOME/ directory
  2. Execute mvn exec:exec@docs
  3. The generated PDF will be in PROJECT_DOCS_HOME/ directory

How to setup/run/test program

  1. Tester, first obtain the Acceptance Test plan
  2. IP address of target machine running the app
  3. Execute ________
  4. ...
  5. ...

License

MIT License

See LICENSE for details.

About

Team Project in which we developed a functioning online shoe store including user signup/login, admin capabilities to create/edit/delete inventory, view orders based on username, items in the order, and order total, as well as customer checkout.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors