Welcome to the Food Ordering and Blog Platform System! This project aims to provide a seamless experience for users to browse meals, place orders, and engage with food-related content through a blog. Designed with a client-server architecture, this system ensures smooth interaction between users and backend services.
This project focuses on developing a comprehensive food ordering system integrated with a blog platform. Users can browse various meals, place orders, and engage with food-related content. The system is designed with a client-server architecture to ensure effective interaction between the user interface and backend services.
- Lists available meals with images, descriptions, prices, and categories (e.g., breakfast, lunch, dinner).
- Showcases promotional or featured dishes, including new arrivals and chef recommendations. The featured dishes section rotates periodically.
- Displays dishes that users have recently searched for, allowing quick access to previously viewed items.
- Allows users to post and interact with food-related content including personal experiences, recommendations, and more. Posts are categorized for easy browsing, and interaction is possible through comments.
- Provides guidance on placing orders, making payments, and navigating the platform.
- Features a registration and login system for personalized experiences. Users can save their order history, favorite meals, and track current orders.
- Cart Overview: Displays selected meals with itemized details.
- Add/Remove/Update Items: Users can manage their cart with ease.
- Cart Summary: Shows total items, subtotal, and final cost.
- Proceed to Checkout: Users can complete their orders through a streamlined checkout process.
- HTML: Structures the content of web pages.
- CSS: Styles the application for a visually appealing interface.
- JavaScript: Adds interactivity, such as dynamic cart updates and form validations.
- PHP: Handles server-side logic, data processing, and user sessions. Manages communication between the frontend and the database.
- MySQL: Stores and manages user information, meal details, orders, blog posts, and transaction records.
-
Clone the repository:
git clone https://github.com/samueltexa/food-system.git
-
Navigate to the project directory:
cd food-ordering-blog-platform
-
Set up the database:
- Create a new MySQL database and import the provided SQL dump file.
-
Configure environment variables:
- Update the database connection details in
config.php
.
- Update the database connection details in
-
Install dependencies:
- Ensure you have a local server stack (e.g., XAMPP, WAMP) to run PHP.
-
Run the application:
- Start your local server and navigate to
localhost/food-ordering-blog-platform
in your web browser.
- Start your local server and navigate to
- Browse Meals: View and search for meals from the menu.
- Place Orders: Add meals to the cart, review, and proceed to checkout.
- Read and Post Blogs: Engage with community posts and share your own food-related experiences.
- Manage Account: Register, log in, and manage your account details and order history.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or fix.
- Commit your changes and push to your branch.
- Open a pull request describing your changes.
This project is licensed under the MIT License - see the LICENSE file for details.