basic webshop using the auth system
  • PHP 83.8%
  • CSS 10.4%
  • JavaScript 4%
  • Dockerfile 1.8%
Find a file
Marco 5b186d98fe feat: implement product page
- added navbar globally
- match intro text with webshop theme
2025-05-10 21:23:45 +02:00
src feat: implement product page 2025-05-10 21:23:45 +02:00
.gitattributes Initial commit 2025-03-09 18:44:23 +01:00
.gitignore feat: implement product page 2025-05-10 21:23:45 +02:00
composer.json feat: create register page 2025-03-10 14:03:43 +01:00
database.sql update: match docker / sql script with webshop 2025-05-10 21:20:55 +02:00
docker-compose.yml update: match docker / sql script with webshop 2025-05-10 21:20:55 +02:00
Dockerfile feat: Implement MVC architecture and modern UI 2025-05-10 16:45:24 +02:00
README.md Update README.md 2025-05-10 17:21:52 +02:00
TODo.md feat: create register page 2025-03-10 14:03:43 +01:00

PHP Webshop 💸

A simple webshop using the auth system project as a base.

Features

  • Wishlists / Favorites
  • 💭 User reviews
  • 🛒 Shopping cart
  • 🔍 Product search

⚙️ Installation

  1. Clone the repository

    git clone https://github.com/msh31/php-webshop.git
    cd php-webshop
    
  2. Set up environment variables

    • Create a .env file in the root directory and add your database credentials:
      DB_HOST=localhost
      DB_USER=your_username
      DB_PASS=your_password
      DB_NAME=php_webshop
      
    • Install vlucas/phpdotenv (if not already installed):
      composer require vlucas/phpdotenv
      
  3. Set up the database

    • Import the database.sql file into your MySQL database.
  4. Run the project

    • Start a local server (e.g., XAMPP, MAMP, or PHP built-in server):
      php -S localhost:8000
      
    • Open http://localhost:8000 in your browser.

🤝 Contributing

Pull requests are welcome! Feel free to fork this repository and improve upon it.

📜 License

This project is licensed under the MIT License.


Made with ❤️ by Marco