Individual Project Front Sheet: Qualification BTEC Level 5 HND Diploma in Computing Unit Number and Title Submission Date
Individual Project Front Sheet: Qualification BTEC Level 5 HND Diploma in Computing Unit Number and Title Submission Date
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I
understand that making a false declaration is a form of malpractice.
Grading grid
P5 P6 M4 D4
1|Page
❒ Summative Feedback: ❒ Resubmission Feedback:
2|Page
I. USER REQUIREMENTS
II. SYSTEM DESIGN
1. Sitemap
Based on the user stories and use case diagram, we have designed a sitemap for both client and administrator
sites. The sitemap is shown as follow:
Components
Store
Login/
Register
Home
DashBoard(ad
page(custome
min)
r)
CRUD
CRUD product CRUD supplier CRUD user Detail product
category
Cart
3|Page
Our system, as shown in the sitemap, has two main user groups: administrators and clients.
All features are available to administrators.
Administrators can access all client and admin sites. Meanwhile, the clients have limited rights; they can only
access the websites of clients.
2. Entity relationship diagram
We have designed an Entity relationship diagram (ERD) based on the requirements as follow:
4|Page
5|Page
This is the entity relationship diagram of our sales site system.
Our database design for the system has 7 tables including: User, Role, Oder, Cart, product, Category, supplier. In
the tables there are constraints and relationships as follows
The relationship between the Role table and the User table is a One-to-many relationship because a role
has only one user but a user will have many roles.
The relationship between the User table and the cart table is a one-to-many relationship because a user
has only one cart but one cart will contain many products of a single user.
The relationship between the Cart table and the Order table is a one-to-many relationship. Because a
shopping cart can contain many products and many products can only be in one user's cart
The relationship between the product table and the supplier table is a one-to-many relationship. Because
a product has only one supplier but a supplier has many product
The relationship between the product table and the category table is a one-to-many relationship. Because
a product has only one category but a categoryhas many product
ERD documentation:
User
7|Page
cartID int Primary key ID of carrt
Auto increment
userID int Foreign key is a foreign key that
references the userID of
the user table
productID int Foreign key is a foreign key that
references the
productID of the product
table
Supplier
3. Wireframes
Login page
8|Page
Register page
9|Page
Home Page
10 | P a g e
Detail page
11 | P a g e
12 | P a g e