If you use Maven, add the following configuration to your project's pom.xml
<dependencies>
<!-- other dependencies are there -->
<dependency>
<groupId>io.github.pitzzahh</groupId>
<artifactId>point-of-sale</artifactId>
<version>1.2.3</version>
</dependency>
<!-- other dependencies are there -->
</dependencies>
- JDK 17 LTS or JDK 18 (JDK 1.8 would probably work)
- PostgreSQL database named 'pos' (can change to any DBMS (h2 database doesn't seem to work))
- Change username and password in the application.properties (username and password of your DBMS).
- Change the URL of the database based on the URL of your DBMS.
- Edit product stocks.
- Edit product price.
- Edit product discount.
- Can't purchase a product if a product is; EXPIRED, OUT OF STOCK, REMOVED.
- Stocks are subtracted based on the quantity of the product purchased.
- Remove expired products.
- Remove all expired products.
- View total revenue.
- Before running the application, execute the sql file stored in the resource folder. Without doing so the products will not be available, and the application will stuck at loading.
- The icons of the application will only appear when an internet connection is available (can't set icon with local files)
- If you use the maven dependency, you don't need to download some of the requirements. The dependencies of this project will also be added to your project.