Sambi Kopi POS is a JavaFX desktop application for simple cafe operations. The application is separated into three compact role tabs: Barista, Cashier, and Owner.
- Daniel Widison Yeoh - 25523047
- Faizah Nabila Azzahra - 25523189
- Muhammad Malik Firdaus - 25523002
- Madina Nurbaiti - 25523224
- Xabbi Alghifari Agratama - 25523211
mvn clean javafx:runThis project uses SQLite as the local database. When the application runs for the first time, it will create this database file in the project folder:
sambi_kopi.db
The database stores menu data, menu photos, ingredient links, stock data, cashier orders, owner menu reviews, and stock notifications. If sambi_kopi.db is deleted, the application will create a new database and insert default sample data again.
Default Owner password:
owner123
The password can be changed in:
src/main/java/interva/sambikopi/controller/MainController.java
If the wrong password is entered, the application displays:
Wrong password, Please try again
- Add new menu items and upload menu photos
- Select menu ingredients from Stock
- Add ingredient quantity and unit, such as
1 portion,100 gram, or250 ml - Send new menu items to Owner Review
- View, search, edit, and delete Menu List data
- Delete all menu items with confirmation
- Check, add, and edit Stock data
- Select stock expiration date using DatePicker
- Notify Owner about low or critical stock
- Manage cashier orders
- Assign, complete, or cancel orders
- Automatically reduce linked stock ingredients when an order is completed
- Prevent completing an order if the required stock is not enough
- Input customer name
- View approved menu items with menu photos
- Filter menu by category
- Select approved menu items
- Select payment method
- Receive payment
- Show order confirmation / receipt popup
- Send confirmed orders to Barista Orders
- View cashier order history
- Login-protected Owner tab
- Review stock notifications from Barista
- Mark stock notifications as reviewed
- Review new menu submissions
- Approve or reject new menu items
- View report dashboard with summary cards and charts
- See order status chart and payment method chart
This project uses JavaFX data structures such as ObservableList and FilteredList to store, display, and filter menu, stock, order, and review data in the UI.
- Added menu photo support for Cashier Menu
- Added image path storage in the database
- Added
assets/menu/folder for menu photos - Added photo upload in Barista Menu
- Added ingredient-to-stock linking system
- Added ingredient unit support
- Added automatic stock deduction when Barista completes an order
- Added stock validation before completing an order
- Added Edit Menu feature
- Added Edit Stock feature
- Added more Owner Report summary cards
- Added
.gitignoreto exclude compiled files, IDE settings, and local database files - Updated menu card image display to stretch and fill the image area
- Updated IDR price format, for example
Rp 10.000 - Updated flexible screen
The application uses a local SQLite database. The .gitignore excludes .db files, so GitHub should store the source code and database_schema.sql, not the local database file.