Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pushing samuel twumasi branch #149

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added samuel_twumasi/.DS_Store
Binary file not shown.
13 changes: 13 additions & 0 deletions samuel_twumasi/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions samuel_twumasi/.idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 45 additions & 0 deletions samuel_twumasi/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 57 additions & 0 deletions samuel_twumasi/InventorySystem.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="jdk" jdkName="corretto-1.8" jdkType="JavaSDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="jfoenix-8.0.5" level="project" />
<orderEntry type="library" name="fontawesomefx-8.9" level="project" />
<orderEntry type="library" name="controlsfx-8.0.1" level="project" />
<orderEntry type="library" name="controlsfx-8.40.12" level="project" />
<orderEntry type="library" name="mysql-connector-java-8.0.111" level="project" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://C:/mysql-connector-java-8.0.30/mysql-connector-java-8.0.30/mysql-connector-java-8.0.30.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="library" name="lib" level="project" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/../openjfx-20.0.1_windows-x64_bin-sdk.zip!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/../mysql-connector-j-8.0.33.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library" exported="">
<library>
<CLASSES>
<root url="file://$MODULE_DIR$/../javafx-sdk-20.0.1/lib" />
</CLASSES>
<JAVADOC />
<NATIVE>
<root url="file://$MODULE_DIR$/../javafx-sdk-20.0.1/lib" />
</NATIVE>
<SOURCES />
<jarDirectory url="file://$MODULE_DIR$/../javafx-sdk-20.0.1/lib" recursive="false" />
</library>
</orderEntry>
</component>
</module>
63 changes: 63 additions & 0 deletions samuel_twumasi/README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
## Inventory Management System


**Multi-user, RDBMS system for inventory management**
<br>DCIT 308 semester Project

**Group 5**
<br>JavaFX, MySQL
<br>
**Project Name: Shoppy**


**Environment**
- Intellij Idea
- MySQL Workbench 8 on Legacy Mode
- JDK 8
-

## Installation
1. Make sure **MySQL** is installed properly and running at port **3306** with username **'root'** and password **'root'**
2. Open **MySQL Workbench** and login to your root account
3. From **File** menu click **Open SQL Script**
4. Navigate to: <code>../InventorySystem/sql</code> and select <code>inventory.sql</code> file
5. From **Query** menu select **Execute All** and wait till it finishes
6. Navigate to <code>InventorySystem/jar/</code>
7. Open CMD/Terminal and type: <code>java -jar InventorySystem.jar</code>
9. You're all set!

**Watch this video for more:**


## Features
- Dashboard
- Multi-level Access Privilege
- Auto Due Update
- Elegant UI and Robust Visualization
- Relational Database Oriented System
- Multi-threaded


## CAUTION
- MySQL Workbench should be installed in port **3306** with username **'root'** and password **'root'**
- **JDK 1.8** should be installed and available to system path


## Project Skeleton
UML Class Diagram:

![UML](images/diagrams/simplified-uml.png)

Databse Schema:

![EER Diagram](images/diagrams/schema.png)

Prototypes:

![Dashboard](images/prototypes/Dashboard.png)

![Dashboard](images/prototypes/Customers.png)




Binary file added samuel_twumasi/images/diagrams/schema.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samuel_twumasi/images/prototypes/Customers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samuel_twumasi/images/prototypes/Dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samuel_twumasi/jar/InventorySystem.jar
Binary file not shown.
Binary file added samuel_twumasi/lib/controlsfx-8.40.12.jar
Binary file not shown.
Binary file added samuel_twumasi/lib/fontawesomefx-8.9.jar
Binary file not shown.
Binary file added samuel_twumasi/lib/jfoenix-8.0.5.jar
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: main.Main

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#Tue Jul 24 05:06:00 BDT 2018
password=0000
username=afif
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.root {
-fx-background-color: white;
}
.button {
-fx-background-radius: 35 35 35 35;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.button {
-fx-background-color: white;
-fx-text-fill: #263238;
-fx-font-size: 15px;
}

.button:hover {
-fx-background-color: #eceff1;
-fx-font-size: 15px;
-fx-font-weight: bold;
}

.button:pressed:hover {
-fx-background-color: white;
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/**
* Author: Group 5
* Written on: within August/2022
* Project: TeslaRentalInventory
**/

.split-pane > .split-pane-divider {
-fx-padding: 0 0.004;
-fx-background-color: #263238;
}

.root {
-fx-background-color: #263238;
}

.button {
-fx-text-fill: #ffffff;
-fx-text-alignment: center;
-fx-font-size: 15px;
-fx-border-radius: 0 0 0 0;
}

#topPane {
-fx-background-color: #37474f;
}

.button:pressed:hover {
-fx-background-color: #37474F;
-fx-font-weight: bold;
-fx-scale-y: 0.95;
-fx-scale-x: 0.95;
}

.button:hover {
-fx-background-color: #37474F;
-fx-font-size: 15px;
-fx-font-weight: bold;
}

#paneRight {
-fx-border-color: #ffffff;
}

#paneAccountSection {
/*-fx-background-color: #37474F;*/
-fx-border-color: #ffffff;
-fx-border-radius: 10 10 10 10;
}

.jfx-snackbar-content {
-fx-background-color: red;
-fx-text-fill: white;
-fx-background-radius: 10 10 10 10;
}
.jfx-snackbar-toast {
-fx-text-fill: white;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.root {
-fx-background-color: white;
}

#topPane {
-fx-background-color: #37474f;
}

.jfx-radio-button {
-fx-selected-color: #263238;
-fx-unselected-color: white;
}

.button {
-fx-background-color: #ffffff;
-fx-text-fill: #263238;
-fx-text-alignment: center;
}

.button:hover {
-fx-background-color: white;
-fx-font-weight: bold;
}

.button:pressed:hover {
-fx-background-color: #b0bec5;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.button {
-fx-border-color: #0f0f0f;
-fx-background-color: white;
-fx-text-fill: black;
-fx-border-radius: 100 100 100 100;
-fx-border-width: 2;
-fx-background-radius: 100 100 100 100;
-fx-ripper-fill: white;
}

.button:hover {
-fx-background-color: #eceff1;
}

.button:pressed:hover {
-fx-background-color: white;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.jfx-progress-bar > .bar {
-fx-background-color: #53b1e0;
}

.label {
-fx-text-fill: #263238;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.button {
-fx-background-color: white;
-fx-text-fill: #263238;
}

.button:hover {
-fx-background-color: white;
-fx-font-weight: bold;

}

.button:hover:pressed {
-fx-background-color: white;
}

Loading