Skip to content

Commit 04876a7

Browse files
Deleted readme.md and reorganized code flow
1 parent f82b3f6 commit 04876a7

1 file changed

Lines changed: 100 additions & 0 deletions

File tree

README.md

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
🍔 Command-Line Food Ordering App
2+
A Python-based command-line application that simulates a food ordering system. Forked and enhanced from vikram-singh9/Order_Management_App_Python, this project has been upgraded with better user experience, extended functionalities, and cleaner code structure.
3+
4+
🚀 Features
5+
📋 Menu Display – Browse through a categorized food menu (e.g., Main Course, Drinks, Desserts).
6+
7+
🛒 Order Management – Add, remove, and view items in your cart before placing an order.
8+
9+
💸 Billing System – Get an itemized bill with totals and taxes at checkout.
10+
11+
🔁 Repeat Ordering – Loop back to main menu after completing an order to continue or exit.
12+
13+
🧼 Code Improvements – Modular structure, better input handling, and user prompts.
14+
15+
🛠 Modifications by Lincoln Madaraka
16+
✅ Improved input validation (handles edge cases and invalid entries more gracefully).
17+
18+
✅ Added category-based filtering for menu items.
19+
20+
✅ Enhanced order summary formatting for better readability.
21+
22+
✅ Modularized code into multiple functions for clarity and maintainability.
23+
24+
✅ Customizable tax and discount features added for experimentation.
25+
26+
✅ Added session timestamps and order IDs for better tracking (optional).
27+
28+
📂 Project Structure
29+
bash
30+
Copy
31+
Edit
32+
Order_Management_App/
33+
├── main.py # Entry point for the CLI app
34+
├── menu.py # Contains the menu data and helper functions
35+
├── order.py # Functions related to order/cart management
36+
├── billing.py # Billing and invoice generation logic
37+
├── utils.py # Utility functions (e.g., input validation)
38+
└── README.md # Project documentation
39+
Note: Some of these files may vary depending on your structure; feel free to adjust.
40+
41+
▶️ Getting Started
42+
🔧 Prerequisites
43+
Python 3.7+
44+
45+
No external packages required (fully standard library)
46+
47+
📦 Installation
48+
Clone the repository:
49+
50+
bash
51+
Copy
52+
Edit
53+
git clone https://github.com/Lincoln-Madaraka/Order_Management_App_Python.git
54+
cd Order_Management_App_Python
55+
Run the application:
56+
57+
bash
58+
Copy
59+
Edit
60+
python main.py
61+
🧪 Example Usage
62+
bash
63+
Copy
64+
Edit
65+
Welcome to the Food Ordering App!
66+
67+
Please choose an option:
68+
1. View Menu
69+
2. Place Order
70+
3. View Cart
71+
4. Checkout
72+
5. Exit
73+
74+
----- MENU -----
75+
1. Chicken - $5.99
76+
2. Spring - $2.99
77+
3. Soda - $1.99
78+
...
79+
At checkout:
80+
81+
pgsql
82+
Copy
83+
Edit
84+
----- ORDER SUMMARY -----
85+
1 x Rolls $5.99
86+
2 x Fries $5.98
87+
-------------------------
88+
Subtotal: $11.97
89+
Tax (10%): $1.20
90+
Total: $13.17
91+
92+
Thank you for your order!
93+
🔍 Future Improvements
94+
Add JSON or SQLite-based order history persistence.
95+
96+
Support for user profiles and saved preferences.
97+
98+
Add CLI color formatting for enhanced visuals using colorama.
99+
100+
Enable export of bill to text or PDF.

0 commit comments

Comments
 (0)