A comprehensive web-based solution for seamless food ordering and restaurant management.
The Restaurant Ordering System is a web-based application designed to streamline the food ordering process. It allows customers to browse a menu, place orders, and track their delivery status. Administrators have a dedicated dashboard to manage orders, clients, and menu items efficiently.
- Authentication: Users can sign up and log in to access the system.
- Visual Menu: Browse dishes with mouth-watering images and detailed descriptions.
- Smart Filtering: Filter dishes by category (Starter, Main Course, Dessert) and cuisine (Moroccan, Italian, Chinese, etc.).
- Cart Management: Add items to the shopping cart and manage quantities.
- Order Placement: Simple checkout process to place orders.
- Dashboard: Real-time insights into today's orders, total clients, and sales performance.
- Order Management: View all orders placed today with details (Customer Name, Date, Status).
- Status Updates: Update order status (Pending, In Progress, Shipped, Delivered, Canceled) with a single click.
- Client Management: View list of registered clients.
- Backend: PHP (Native)
- Database: MySQL
- Frontend: HTML5, CSS3, JavaScript
- Server: Apache (via XAMPP/WAMP)
The database solirestaurant consists of three main tables:
| Table | Description |
|---|---|
client |
Stores customer details (Name, Phone, ID). |
plat |
Stores menu items (Name, Category, Cuisine, Price, Image). |
commande |
Stores order details (Date, Status, Customer ID). |
commande_plat |
Linking table for Orders and Dishes (Quantity). |
index.php: Main landing page with menu and ordering functionality.admin.php: Admin dashboard for managing orders.config.php: Database connection settings.login.php/sign-in.php: User authentication pages.checkout.php: Handles the final order processing.frontend/: Contains CSS, JS, and image assets.
#screenshots
- XAMPP or WAMP Server installed.
- A web browser.
- Clone the repository to your server's root directory (e.g.,
C:\xampp\htdocs\restaurant-ordering-system).git clone https://github.com/abdelhaymallouli/restaurant-ordering-system.git
- Start Servers: Open XAMPP Control Panel and start Apache and MySQL.
- Setup Database:
- Go to
http://localhost/phpmyadmin. - Create a new database named
solirestaurant. - Click Import and select the
solirestaurant.sqlfile from the project folder.
- Go to
- Configure:
- Ensure
config.phphas the correct database credentials (default is user:root, password: empty).
- Ensure
- Run:
- Open your browser and visit:
http://localhost/restaurant-ordering-system/
- Open your browser and visit:
_Created with ❤️ by abdelhay
