University Name - SJSU
Course: Enterprise Software - CMPE172/ Fall 2021
Team Members:
John Hoang 014411072
Western Han 012261964
Aryan Kumar 012162371
Project Introduction:
This web application is intended to be an enterprise application aimed at school book stores/libraries so students can easily find and check out books they need in respected departments. Admins have the power to add/edit/remove books, departments, and authors and view a list of books that are checked out by what student.
- Find and run WebappApplication.java in /src/main/java/edu.sjsu.project/
Updating and Maintaining
- any changes, always build as maven
- run .jar
when importing, if src file not showing
- file -> project strucutre -> modules
- import module
- locate FastPages folder and import entire folder. this should fix.
- 
Compile and then build as maven package 
- 
add file to main directory as "Dockerfile" 
- 
map: ex. 
FROM openjdk:15
ADD target/project-0.0.1-SNAPSHOT.jar fast-pages-image.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "fast-pages-image.jar"]
- open terminal
- cd to code directory
- build:
"docker build -f Dockerfile -t fast-pages-image . "
- if build success -> run:
"docker run -p 8085:8085 fast-pages-image"
To pull this application from docker:
- open powershell or terminal
- "docker pull johnhoang5/fast-page-final-ver"
- Open Docker Desktop
- Configure johnhoang5/fast-pages-image port to 8085
 
- run
- visit: http://localhost:8085/
http://fastpages.us-west-1.elasticbeanstalk.com/
These screenshots captures main features of this application
User checking out book Process:

All Books Current User Has Checked Out:

Admin Panel (Shows all books checked out):

Admin Cataloge Page, Can edit/remove books:

Admin add new books/edit books Process:
Click Add Book:
Add Info:
System Diagram:
Class Diagram:
Sequence Diagram:
Interaction Diagram:
DB Schema Diagram:













