Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mohamedmetwalli5/bookstore

📘 Analysis, design, and implementation of a database system to support the operations of a simplified online bookstore. And the creation of the necessary forms to perform these operations.
https://github.com/mohamedmetwalli5/bookstore

analysis database jasper-reports javafx

Last synced: 4 days ago
JSON representation

📘 Analysis, design, and implementation of a database system to support the operations of a simplified online bookstore. And the creation of the necessary forms to perform these operations.

Awesome Lists containing this project

README

        

![GUI](https://img.shields.io/badge/GUI-JavaFX%20-orange.svg)
![DBMS](https://img.shields.io/badge/DBMS-MySQL%20-violet.svg)
![ReportingTool](https://img.shields.io/badge/Reporting%20Tool-JasperReports%20-green.svg)
![License](https://img.shields.io/badge/license-Apache_2.0-blue.svg)

# The Database Project Motivation
This is Analysis, design, and implementation of a database system to support the operations of a simplified online bookstore. And the creation of the necessary forms to perform these operations.

## The Main Operations
* Adding new books
To add a new book, the user enters the properties of the new book along with a threshold (the minimum
quantity in stock to be maintained for that book).
* Modifying existing books
For updating an existing book, the user first searches for the book then he does the required update. For a given
book, the user can update the quantity in stock when a copy or more of the book is sold. The user cannot update
the quantity of a book if this update will cause the quantity of a book in stock to be negative.
* Placing orders on books
An order with constant quantity is placed only when the quantity of a book drops from above a given threshold
(the minimum quantity in stock) to below the given threshold.
* Confirming orders
The user can confirm an order when receiving the ordered quantity from the book’s publisher; the quantity of
the book in store automatically increases with the quantity specified in the order. Assume that deleting the order
means that the order is received from publisher.
* Searching for books
The user can search for a book by ISBN, and title. The user can search for books of a specific Category, author
or publisher.

## Customer Allowed Operations
* Editing his personal information including his password
* Searching for books by any of the book’s attributes. (Use indices to speed up searches when possible)
* Adding books to a shopping cart
* Managing his shopping cart. This includes the following.
* Viewing the items in the cart
* Viewing the individual and total prices of the books in the cart
* Removing items from the cart
* Checking out a shopping cart
* The customer is then required to provide a credit card number and its expiry date. This transaction is completed successfully if the credit card information is appropriate.
* The book’s quantities in the store are updated according to this transaction.
* Logging out of the system
* Doing this will remove all the items in the current cart.
## Manager Allowed Operations
* Adding new books
* Modifying existing books
* Placing orders for books
* Confirming orders
* Promoting registered customers to have managers credentials
* Viewing the following reports on sales
* The total sales for books in the previous month
* The top 5 customers who purchase the most purchase amount in descending order for the last three months
* The top 10 selling books for the last three months

## The ER Diagram
![TheERDiagram](https://user-images.githubusercontent.com/58489322/148833104-20bfae60-b2c1-415c-a327-f3d357e07c32.png)

---

## Screenshots
![image](https://user-images.githubusercontent.com/58489322/151219333-0d3267bf-b18e-4750-be3b-1c5de424eae6.png)

![image](https://user-images.githubusercontent.com/58489322/151219471-45884d1b-fb49-47b5-a236-b72c8376f5e5.png)

![image](https://user-images.githubusercontent.com/58489322/151219695-847c9e6d-712f-4212-a9f7-69600e7fe1dd.png)

![image](https://user-images.githubusercontent.com/58489322/151218761-9afa4fcd-2b73-49da-b6f8-d18417ceaee5.png)

![image](https://user-images.githubusercontent.com/58489322/151219864-bf6f6366-5675-4854-be91-1aa0de2012ca.png)

![image](https://user-images.githubusercontent.com/58489322/151220650-e2d85d8a-f1a3-492b-b725-483abb9e8304.png)

## The Online Bookstore Logo
![TheLogo](https://user-images.githubusercontent.com/58489322/148835338-cd3a77e4-ae24-4198-bc7e-5609d941af63.png)