Bookhup - Software Application System (Example)
Bookhup - Software Application System (Example)
Submitted by:
Submitted to:
Business Rules………………………………………………………………………………1
Data Dictionary………………………………………………………………………………3
Wireframe…………………………………………………………………………………….4
Class/Database Diagram…………………………………………………………………...5
CRUD Matrix…………………………………………………………………………………6
Database Design…………………………………………………………………………….7
BUSINESS RULES
Users
-Users must be registered in order to place an order.
-Each user must have a unique username and email address.
-Users must provide a valid contact number and address.
-Users must agree to the no refund no exchange policy and cancelling orders policy
before placing an order.
Books
-Books must be listed in the database before they can be ordered.
-Each book must have a unique title and ISBN number.
-Books must have a valid price.
-Out-of-stock books can be displayed but cannot be ordered.
Orders
-Orders must be placed by a registered user.
-Orders must have a valid order status.
-The total amount of an order must be greater than 0.
-All sales are final. There are no refunds or exchanges.
-Orders that have been placed and shipped cannot be cancelled.
Order items
-Order items must be associated with a valid order.
-Order items must be associated with a valid book.
-The quantity of an order item must be greater than 0.
-The price of an order item must be greater than 0.
Payments
-Payments must be associated with a valid order.
-Payments must have a valid payment date.
-The amount paid must be greater than 0.
-The amount paid must be equal to or greater than the total amount of the order.
ENTITY RELATIONSHIP DIAGRAM
DATA DICTIONARY
WIREFRAME
Login Page
Registration Page
Home Page
Shop Page
Account Settings Page
Cart Page
Checkout Order Page
Crud Matrix
TABLES
USER_DELETE Procedure RD
BOOKS_DELETE Procedure RD
ORDERS_DELETE Procedure D RD
ORDERITEMS_DELETE Procedure D D RD
PAYMENTS_DELETE Procedure D RD
SEND_ORDER_NOTIFICATION Trigger R R
CHECK_ORDER_AMOUNT Trigger R CR
UPDATE_BOOK_INVENTORY Trigger R R U
UPDATE_ORDER_TOTAL Trigger R U R
DATABASE DESIGN
CREATE DATABASE ONLINE_BOOKSTORE
USE ONLINE_BOOKSTORE
GO
ON USERS (USERNAME)
ON BOOKS (TITLE)
ON ORDERS (ORDER_STATUS)
ON ORDER_ITEMS (ORDER_ID)
ON PAYMENTS (PAYMENT_METHOD)