Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
bump to v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jhdcruz committed Dec 13, 2022
1 parent be609a9 commit 58c96ba
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 24 deletions.
51 changes: 30 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# DD Pharmacy Inventory and POS System
# D&D Pharmacy Inventory Management System

In Compliance to CIT 201: System Analysis and Design.

## Features

- Products
- Medicine Inventory
- Customers
- Suppliers
- Users
- Transactions
- Logs
- Users<sup>*</sup>
- Restock
- Basic User Timesheet
- System/Application Event Logs

> _* Password encryption/decryption is supported/implemented_
## Structure

Expand All @@ -27,16 +32,16 @@ The software code are divided into multiple packages for modularity:

- **`Utils`**: Shared utility classes used by the other packages.


## Development

The main method is located in `com.pharmacy.Main`.

### Compiling

#### Requires:
- Maven
- JDK 17

- Maven
- JDK 17

Install dependencies:

Expand All @@ -57,49 +62,53 @@ mvn clean compile assembly:single
### Setting up the database

**Requires**:
- MySQL 8 Database

- MySQL/MariaDB 8 Database

Create a new user:
- Username: dd_pharmacy
- Password: ddpharmacy

- Username: `dd_pharmacy`
- Password: `ddpharmacy`

> The above are the default that will be used by the software.
>
>
> You can manually change it in `src/main/resources/database/datasource.properties`,
> and recompile the software.
Prepare the database with the software's schema located in:
`src/main/resources/database/dd_pharmacy_schema.sql`

```
Default admin account:
user: admin
pass: admin
user: `admin`
pass: `admin`

Default employee account:
user: `emp`
pass: `emp`

Create your own personal admin account, then delete the default account
for security purposes.
```

After, you can now use the software.

> NOTE: Make sure the database are running in the background when
> your using the software.
### Running the app (.jar)

- Usually, double-clicking the `.jar` file is enough.

- Running through the terminal:

> ```
> java -jar ./target/DD-Pharmacy-1.0.0.jar
> java -jar ./target/DD-Pharmacy-vX.X.X.jar
> ```
- Through an IDE's `Run Project` tool.
> NOTE: Make sure the database are running in the background when
> your using the software.
## Acknowledgements
This software was based and heavily modified of the ff.
- [Inventory Management System by Asjad Iqbal](https://github.com/AsjadIqbal/InventoryManagementSystem/tree/fa42a6b59265870256b4d1d0cc13e526ddb9679e)
_(Unlicensed, at the time of forking)_
_(Unlicensed, at the time of cloning)_
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.pharmacy</groupId>
<artifactId>DD-Pharmacy</artifactId>
<version>1.1.1</version>
<version>2.0.0</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/pharmacy/Views/LoginPage.form
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<Color blue="99" green="99" red="99" type="rgb"/>
</Property>
<Property name="horizontalAlignment" type="int" value="0"/>
<Property name="text" type="java.lang.String" value="&#xa9; D&amp;D Pharmacy System v1.1.1"/>
<Property name="text" type="java.lang.String" value="&#xa9; D&amp;D Pharmacy System v2.0.0"/>
</Properties>
</Component>
</SubComponents>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/pharmacy/Views/LoginPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
jLabel4.setFont(new java.awt.Font("Liberation Sans", 0, 14)); // NOI18N
jLabel4.setForeground(new java.awt.Color(153, 153, 153));
jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel4.setText("© D&D Pharmacy System v1.1.1");
jLabel4.setText("© D&D Pharmacy System v2.0.0");

javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
Expand Down

0 comments on commit 58c96ba

Please sign in to comment.