A Java-based desktop application for managing cafe orders, payments, and billing.
This project includes features for user login, order management, UPI/Cash payment, Stock Management, Order History Page, and PDF receipt generation.
- User Login & Register: Simple authentication with username and password.
- Order Management: Select items, quantity, table no, Current order, Proceed to payment, and add the Customer name.
- Stock Management: Select items, update quantity, and manage & update the stock.
- Payment Options:
- UPI Payment: Scan QR and confirm payment.
- Cash Payment: Direct payment option.
- PDF Bill Generation: Automatically generates a receipt after payment.
- Dashboard: View orders and reports (future enhancements: daily sales summary).
- QR Code Support: Static scannable QR for UPI payments.
- Order History: Used to manage the history, check, or track the history.
- Menu Page: Where the user can see the menu of items.
(Add screenshots of your login, order form, payment page, and PDF receipt here)
- Java JDK 17 or above
- Maven (optional, if you want to manage dependencies)
- Required libraries in
/libfolder:mysql-connector-j-9.4.0.jarbarcodes-7.2.0.jarcore-3.5.1.jario-7.2.0.jarjavase-3.5.1.jarkernel-7.2.0.jarlayout-7.2.0.jarcommons-7.2.0.jarslf4j-api-1.7.36.jarslf4j-simple-1.7.36.jar
javac -cp ".;../lib/*" *.java
java -cp ".;../lib/*" LoginForm
Go to the SQL command line and run these -
- SELECT user, host, plugin FROM mysql.user WHERE user='root';
- ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_password';
- FLUSH PRIVILEGES;
- Clone the repository:
git clone https://github.com/YourUsername/CafeManagementSystem.git
cd CafeManagementSystem
-