How beexoul/delicious_restaurant_management_system works
Project Type and Purpose
• This is a monolithic, role-based CLI application (not a web app) for a Food Ordering System written in Python.
• It supports four user roles (Admin, Manager, Chef, Customer), each with its own module folder under the root.
• The entry point (main.py) handles authentication, password recovery, and dispatches control to the appropriate role module.
File Structure
• Top-level:
• main.py: CLI controller & router
• User_Data/: JSON files as the (flat-file) data store
• user_admin/, user_manager/, user_chef/, user_customer/: role-specific packages
• Each role package:
• A *.py driver (e.g. admin.py, manager.py, chef.py, customer.py)
• Supporting scripts for profile, domain actions, reporting, feedback, orders, etc.
• No external database—data persistence via JSON files.
README for Additional Insights
• Describes each role’s CRUD-style capabilities:
• Admin: staff mgmt, reports, feedback
• Manager: customer/menu mgmt, ingredient requests
• Chef: order processing, ingredient requests
• Customer: browsing, ordering, feedback
• Future direction: migrate to text files, add validation & error handling.
Elements
• Component Names: main.py, each user_<role> package, User_Data/*.json
• Arrowheads showing request/response or read/write