Skip to content

An online shopping platform built with PHP, OOP, Doctrine, MVC and MySQL. It allows users to browse and purchase products, manage their cart, and place orders.

Notifications You must be signed in to change notification settings

demarillacizere/online-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An online shopping platform built with PHP, OOP, Doctrine, MVC and MySQL. It allows users to browse and purchase products, manage their cart, and place orders.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages