---
# System prepended metadata

title: 'A8: Vertical prototype'

---

# A8: Vertical prototype

The Vertical Prototype includes the implementation of two or more user stories (the simplest) and aims to validate the architecture presented, also serving to gain familiarity with the technologies used in the project.

The implementation is based on the LBAW Framework and include work on all layers of the architecture of the solution to implement: user interface, business logic and data access. The prototype includes the implementation of pages of visualization, insertion, edition and removal of information; the control of permissions in the access to the implemented pages; and a presentation of error and success messages.


### 1. Implemented Features

#### 1.1. Implemented User Stories

 The user stories that were implemented in the prototype are described in the following table. 
 
| User Story reference | Name                    | Priority | Description                                                                                                                                    |
| -------------------- | ----------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| US104                | Browse products         | High     | As a User, I want to browse the products, so that I can see and compare several products at the same time                                      |
| US105                | Browse suppliers        | High     | As a User, I want to see all suppliers, so that I can view stores products                                                                     |
| US106                | See about               | Low      | As a User, I want to access the about, so that I can see a complete web store description, contact informations and frequently asked questions |
| US201                | Sign-in                 | High     | As a Visitor, I want to authenticate into the system, so that I can access privileged information                                              |
| US202                | Sign-up as a customer   | High     | As a Visitor, I want to register myself into the system as a client, so that I can authenticate myself into the system                         |
| US203                | Sign-up as a supplier   | High     | As a Visitor, I want to make a request for a Supplier account to the system, so that I can authenticate myself into the system                 |
| US305                | Log out                 | High     | As a Authenticated User, I want to logout from the system, so that I can access the system as a visitor or with a different account            |
| US503                | Create discount coupons | Medium   | As a Supplier, I want to create discount coupons, so that I can make a promotion on my products                                                |



#### 1.2. Implemented Web Resources

The web resources that were implemented in the prototype are described in the next section.

**Module M01: Authentication and Individual Profile**  
| Web Resource Reference | URL                            |
| ---------------------- | ------------------------------ |
| R101: Login Form       | /login                         |
| R103: Logout Action    | /logout                        |
| R104: Register Form    | /register                      |
| R106: Get all suppliers| /supplier                      |


**Module M02: Items**  
| Web Resource Reference | URL                            |
| ---------------------- | ------------------------------ |
| R205: View create coupon page| /supplier/{id}/createCoupon    |


**Module M02: Items**  
| Web Resource Reference | URL                            |
| ---------------------- | ------------------------------ |
| R209: Item Page        | /item/{id}                     |
| R210: Item List        | /item                          |


**Module M03: Reviews, Favorites, Cart, Periodic, History**  
| Web Resource Reference | URL                            |
| ---------------------- | ------------------------------ |


 
 A supplier list nao existia, fiz hj, ou seja nao ta na api
 

**Module M04: Static pages**  
| Web Resource Reference | URL                            |
| ---------------------- | ------------------------------ |
| R401: About us          | /about_us                     |


**M05: User Administration**
| Web Resource Reference | URL                            |
| ---------------------- | ------------------------------ |



### 2. Prototype



The prototype can be acessed [here]( http://lbaw2131.lbaw-prod.fe.up.pt/).

Credentials:
- client:
    - Username: bshovelbottom0@storify.com    
    - Password: 1234
- supplier:
    - Username: jsimoncello22@soundcloud.com    
    - Password: 1234 
- admin:
    - Username: admin2@admin.com    
    - Password: 1234
---


## Revision history

Changes made to the first submission:


***

GROUP2131, 03/05/2021

André Gomes, up201806224@up.pt 
Luis Silva, up201808912@up.pt
José Macedo, up201705226@up.pt
Ricardo Nunes, up201706860@up.pt (Editor)