A comprehensive command-line restaurant management system built with Python, implementing Object-Oriented Programming (OOP) principles including abstraction, inheritance, and encapsulation.
- 🔐 Secure login with username and password
- 📊 View total sales and revenue
- ➕ Add new items to the menu
- ❌ Delete items from the menu
- 📋 Display current order menu
- 🛒 Place orders from the available menu
- 👀 View ordered items
- 🗑️ Delete items from current order
- 💰 Display final bill with total amount
- Language: Python 3.x
- Paradigm: Object-Oriented Programming (OOP)
- Concepts: Abstraction, Inheritance, Encapsulation, Polymorphism
-
Clone the repository
git clone https://raw.githubusercontent.com/iftekharul01/Restaurant-Management-System-in-Python/main/Buxbaumia/Restaurant-in-Management-Python-System-2.1.zip
-
Navigate to the project directory
cd Restaurant-Management-System-in-Python -
Ensure Python is installed
python --version
Requires Python 3.6 or higher
-
Run the application
python https://raw.githubusercontent.com/iftekharul01/Restaurant-Management-System-in-Python/main/Buxbaumia/Restaurant-in-Management-Python-System-2.1.zip
python https://raw.githubusercontent.com/iftekharul01/Restaurant-Management-System-in-Python/main/Buxbaumia/Restaurant-in-Management-Python-System-2.1.zip- Admin Section - Access administrative features
- Customer Section - Place and manage orders
- Exit - Close the application
- Username:
admin - Password:
1234
Note: For production use, implement secure password hashing and storage.
Restaurant-Management-System-in-Python/
├── https://raw.githubusercontent.com/iftekharul01/Restaurant-Management-System-in-Python/main/Buxbaumia/Restaurant-in-Management-Python-System-2.1.zip # Main application file
└── https://raw.githubusercontent.com/iftekharul01/Restaurant-Management-System-in-Python/main/Buxbaumia/Restaurant-in-Management-Python-System-2.1.zip # Project documentation
MenuItem- Represents individual menu itemsAbstractMenu- Abstract base class defining menu operationsMenu- Implements menu management functionalityTotalSales- Extends Menu to calculate and display salesRestaurantManagementSystem- Main class orchestrating the application
The AbstractMenu class uses Python's ABC module to define abstract methods that must be implemented by subclasses:
@abstractmethod
def add_item(self, data, foodname, price):
passTotalSales inherits from Menu, extending functionality:
class TotalSales(Menu):
def calculate_total_sale(self):
# ImplementationPrivate attributes are used to protect sensitive data:
self.__pass = "1234" # Private password attributeMethod overriding in the TotalSales class:
def display(self):
super().display() # Calls parent method
# Additional functionality-
View Total Sales
- Displays all sold items with quantities
- Shows total revenue generated
-
Add New Items
- Enter serial number, name, and price
- Validates for duplicate entries
-
Delete Items
- Remove items by serial number
- Displays updated menu
-
Display Order Menu
- Shows all available menu items
-
Place Order
- Select items from the menu
- Specify quantity
- Automatic price calculation
-
View Ordered Items
- Lists all items in current order
- Shows quantities and prices
-
Delete from Order
- Remove items before finalizing
- Updates order total
-
Display Final Bill
- Shows itemized bill
- Calculates total amount
**************************************************************************
WELCOME TO RESTAURANT MANAGEMENT SYSTEM
**************************************************************************
1. ADMIN SECTION
2. CUSTOMER SECTION
3. Exit
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch
git checkout -b feature/AmazingFeature
- Commit your changes
git commit -m 'Add some AmazingFeature' - Push to the branch
git push origin feature/AmazingFeature
- Open a Pull Request
- 🔐 Implement secure authentication with hashing
- 💾 Add database integration (SQLite/PostgreSQL)
- 🖥️ Create GUI using Tkinter or PyQt
- 📊 Generate sales reports and analytics
- 🧾 Add receipt printing functionality
- 💳 Implement payment processing
- 👥 Support multiple user roles
- 🌐 Add web interface using Flask/Django
This project is licensed under the MIT License - see the LICENSE file for details.
Your Name
- GitHub: @iftekharul01
- Email: https://raw.githubusercontent.com/iftekharul01/Restaurant-Management-System-in-Python/main/Buxbaumia/Restaurant-in-Management-Python-System-2.1.zip
- Built as part of CSE222 (Object-Oriented Programming 2) course project
- Thanks to all contributors and reviewers
If you encounter any issues or have questions:
- Open an issue
- Contact via email
⭐ Star this repository if you find it helpful! ⭐