basic webshop using the auth system
- PHP 83.8%
- CSS 10.4%
- JavaScript 4%
- Dockerfile 1.8%
|
|
||
|---|---|---|
| src | ||
| .gitattributes | ||
| .gitignore | ||
| composer.json | ||
| database.sql | ||
| docker-compose.yml | ||
| Dockerfile | ||
| README.md | ||
| TODo.md | ||
PHP Webshop 💸
A simple webshop using the auth system project as a base.
✨ Features
- ⭐ Wishlists / Favorites
- 💭 User reviews
- 🛒 Shopping cart
- 🔍 Product search
⚙️ Installation
-
Clone the repository
git clone https://github.com/msh31/php-webshop.git cd php-webshop -
Set up environment variables
- Create a
.envfile 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
- Create a
-
Set up the database
- Import the
database.sqlfile into your MySQL database.
- Import the
-
Run the project
- Start a local server (e.g., XAMPP, MAMP, or PHP built-in server):
php -S localhost:8000 - Open
http://localhost:8000in your browser.
- Start a local server (e.g., XAMPP, MAMP, or PHP built-in server):
🤝 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