Shikuro26/cafegest ? reverse-engineered prompt
Reverse engineered prompt
Build me a desktop app for a coffee shop in Java that lets staff manage orders from start to finish. I want a simple menu where I can see products, their prices, and whether they are available, then create orders, add items with quantities, and customize some drinks with extras like an extra shot or plant milk. The app should let me change or remove items only before the order is confirmed, and it should block empty orders.
When an order is confirmed, it should calculate subtotal, discount, and total, and apply the best promotion available for the day or time, like a Tuesday coffee discount or a happy hour discount. After that, the order should move through the states received, in preparation, and delivered, and notify the kitchen and cashier whenever the status changes.
If it makes sense, give me both a console version and a simple Swing window, and keep everything in memory for now.
Are you gonna build this?
make sure you review the code using coderabbit