Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.87 KB

README.md

File metadata and controls

61 lines (45 loc) · 1.87 KB

Online Shop

This project is an online shopping platform built with PHP, OOP, MVC and MySQL. It allows users to browse and purchase products, manage their cart, checkout and place orders.

Features

  • Browse products by categories
  • Add products to the cart
  • Update cart items
  • Remove cart items
  • Checkout and place orders

Technologies Used

  • PHP
  • MySQL
  • HTML/CSS
  • JavaScript
  • Bootstrap

Getting Started

  1. Clone the repository: git clone https://github.com/demarillacizere/online-shop.git
  2. Move the folder to the XAMPP htdocs folder.
  3. Import the SQL database from database.sql
  4. Run the project using a local web server (e.g., Apache) or a development environment (e.g., XAMPP)
  5. Access the project in your browser: http://localhost/online-shop/

Project Structure

  • Online-shop
    • public/ - Public assets directory
      • css/ - CSS files
      • js/ - JavaScript files
      • images/ - Constant images on the pages
      • db-img/ - Images from uploaded from pages to db
    • src/ - Source code directory
      • App/ - Contains router file
      • Controllers/ - Contains controller classes
      • Models/ - Contains model classes
      • Views/ - Contains view templates
    • vendor/ - Contains composer files
    • database.sql - SQL database file
    • index.php - The entry file to the shop

How to Contribute

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository
  2. Create a new branch for your feature/bugfix: git checkout -b feature-name
  3. Make your changes and commit them: git commit -m "Description of changes"
  4. Push to your branch: git push origin feature-name
  5. Open a pull request on GitHub

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project By: Demarillac Izere