Welcome to Ecom-Shop, a fundamental yet fully-functional e-commerce website platform. Built with the robustness of PHP and the reliability of MySQL, this project serves as a strong foundation for anyone interested in understanding the backbone of an e-commerce site.
Ecom-Shop utilizes a classic LAMP stack:
- Linux: The operating system.
- Apache: The HTTP server.
- MySQL: The database management system.
- PHP: The server-side scripting language.
- Users: Contains user data and credentials.
- Products: Holds information about products including pricing and availability.
- Orders: Manages customer orders and their statuses.
To get this project up and running on your local machine for development and testing purposes, follow these steps:
- PHP (Preferably PHP7+)
- MySQL
- Apache Server (can be XAMPP/WAMP/MAMP/LAMP)
- Clone the repository to your local machine or download the zip file and extract it.
- Place the project folder in your
htdocs
(if using XAMPP) or the relevant directory for your server setup. - Start Apache and MySQL services.
- Create a new database in MySQL and import the
shop_db.sql
file to set up the tables. - Configure the
db.php
file with your database connection details. - Access the project through your web browser by going to
localhost/<YourProjectFolderName>
.
To deploy Ecom-Shop on a live system, you will need:
- A domain name.
- A web hosting service that supports PHP and MySQL.
- FTP/SFTP access to your web server.
- Upload the project files to your web server using FTP/SFTP.
- Import your
shop_db.sql
file into your web host's MySQL database. - Update the database connection details in the
db.php
file with those provided by your web host. - Point your domain to the directory where you uploaded your project files.
- Navigate to your domain name on a web browser to access the live site.
We โค๏ธ contributions! If you wish to help improve Ecom-Shop, please follow this process:
- Fork this repository.
- Create a branch (
git checkout -b feature/AmazingFeature
). - Make your changes.
- Commit your changes (
git commit -am 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE.md
file for details.
Need a hand with something? Drop us an issue or reach out to the maintainers.
Crafted with โค๏ธ and PHP by [YourName] - Happy coding!