Live Website: https://omnifood-meals.000webhostapp.com/
Omnifood is an Online Food Ordering System that allows users to browse a variety of dishes and place food orders online.
- Installation
- Usage
- Features
- Technologies Used
- Project Structure
- Configuration
- Contributing
- Contact
- Acknowledgments
- Ensure you have PHP and MySQL installed on your system.
- Clone this repository to your local machine.
- Import the database schema from
database.sql
into your MySQL server. - Update the database connection configuration in
db.php
with your MySQL credentials.
- Start your local PHP development server.
- Visit
http://localhost/
in your browser to access the Omnifood application. - Browse dishes and add items to your cart.
- Proceed to the checkout page to place your order.
- User authentication and registration
- Browse various dishes
- Add items to the cart and proceed to checkout
- Users can subscribe to receive exclusive offers
- PHP (Backend)
- HTML (Frontend)
- CSS (Styling)
- MySQL (Database)
index.php
: Entry point of the application.db.php
: Configuration file with database credentials.login.php
: User login page.signup.php
: User registration page.meals.php
: Page displaying various dishes.cart.php
: Shopping cart page for users to review and place their orders.components/
: Contains reusable code components.controllers/
: Contains PHP files handling the application's logic and business operations.models/
: Contains PHP files defining database models and interactions.css/
: Contains stylesheets for styling the application.img/
: Contains all image assets used in the application.js/
: Contains JavaScript files for client-side functionalities and interactions.config/
: Contains PHP files for handling sessions, cookies, and other configurations.database.sql
: SQL file with the database schema.
- Update the database credentials in
db.php
with your MySQL server information.
Contributions are welcome! If you'd like to contribute to Omnifood, please follow these steps:
- Fork this repository and create a new branch.
- Make your changes and submit a pull request.
- Please adhere to the coding standards and write clear commit messages.
For any questions or feedback, feel free to reach out to us at [email protected].
- Hat tip to the PHP and MySQL community for the fantastic libraries and resources.