---
# System prepended metadata

title: GROUP A PROJECT DEPLOYMENT MANUAL

---

# GROUP A PROJECT DEPLOYMENT MANUAL
## Pre-run installation
### 0. App version specific: 
Java 17, Spring 2.7.5, Spring Tool Suite 4.15.0, Oracle XE 11g, VSCode 1.54.3
### 1. Download and extract file crt.rar
Contains 2 folder "gallery" for the FE and "crt" for the BE
### 2. Install Lombok for STS
![](https://i.imgur.com/qBHBDqs.png)

***Steps are as followed images:***
1![](https://i.imgur.com/FlnvrlH.jpg)
2![](https://i.imgur.com/x9CpWwn.png)
3![](https://i.imgur.com/WFoXbr8.jpg)
4![](https://i.imgur.com/2gZscNl.jpg)
***Install/Update***

## Run the project

### 1. Swagger
1. A place to check what's indeed of a request for each controller of the project.
2. Link to project's swagger:
http://localhost:6969/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config
3. Sample UI for a request:
![](https://i.imgur.com/F3cvfCB.jpg) 
### 2. Run the project in STS, then head to cmd and type in below commands:
Remember to change oracle setting in application.properties
```
desc stock
desc category
desc product
desc orderdetail
desc customer
desc cusorder
```

Result:
![](https://i.imgur.com/rmM1doO.jpg)


### 3. Run the branding Angular in vscode 
Open VSCode, get to the folder of the project and type in console:
```
ng serve --open
```
![](https://i.imgur.com/Mg0BJmU.jpg)

If the home paged popped up then you are ready to go.

![](https://i.imgur.com/V1ebhNj.jpg)

## Testing with postman
So you can try some request to see how the project works, noted that environment variable "branding" is equal to http://localhost:6969/
### A few examples
Login request return boolean:
![](https://i.imgur.com/SboC8Xx.png)

Get customers list:
![](https://i.imgur.com/luO2f8P.png)

Update customer:
![](https://i.imgur.com/fkwPO7k.png)

Get customer's cart list:
![](https://i.imgur.com/3L47Wog.png)

And so on ...