How abdullahsajid007/automated-coffee-shop-in-java works
Project type and purpose
• This is a standalone Java console application (“Automated Coffee Shop Management System”) that automates shop operations for two user roles (Admin and Customer).
• It uses file-based persistence (menu.txt, order.txt, customer.txt) rather than a database.
File structure
• Top-level: README.md, a PDF spec, and one folder: src.
• Classes in src:
• Main.java – entry point and console UI router
• Person.java – base model for shared attributes
– Admin.java and Customer.java extend Person
• Menu.java – business logic for menu CRUD and file I/O
• MenuItem.java – model for individual items
• TakeOrder.java – business logic for order processing, payment calculations, stock updates
• ShopDetails.java – static shop metadata
• No separate “frontend” or “backend” folders; UI and logic are co-located in console classes.
• Persistence is handled via simple file readers/writers (no ORM or DB).
README for additional insights
• Clearly split user flows: Admin features vs Customer features.
• Data persistence is file-based, with three text files.
• No external services or network calls.
• Future enhancements mention GUI or database integration.