Skip to content

AliDev-0/PHP-E-commerce-Platform

Repository files navigation

Full-Stack PHP E-commerce Platform

PHP Version MySQL Shield License: MIT GitHub issues GitHub forks GitHub stars

A comprehensive, full-stack E-commerce platform built from the ground up using vanilla PHP, MySQL, and JavaScript. This project showcases a deep understanding of backend development, database management, and dynamic frontend interactions, complete with a powerful admin panel for seamless store management.

This platform is designed to be a robust, scalable, and secure solution for online retail, demonstrating core software engineering principles without relying on external frameworks.


✨ Key Features

The platform is divided into two main components: a feature-rich storefront for customers and a comprehensive management panel for administrators.

🛍️ Customer-Facing Features:

  • Secure User Authentication: Robust registration and login system for a personalized shopping experience.
  • Dynamic Product Catalog: Browse products by category with a clean and intuitive interface.
  • Advanced Search Functionality: Easily find any product with a powerful and fast search engine.
  • Interactive Shopping Cart: Add, update, and remove items from the cart in real-time using JavaScript (AJAX).
  • User Profile Management: View order history and manage personal information.
  • Streamlined Checkout Process: A seamless, multi-step process to place orders and simulate payment.

⚙️ Admin Panel Features:

  • Secure Admin Login: Protected backend to ensure data integrity.
  • Analytics Dashboard: Get a bird's-eye view of sales statistics, user registrations, and order volumes.
  • Full CRUD Product Management: Create, Read, Update, and Delete products and their details (images, price, stock).
  • Category Management: Organize products into logical and nested categories.
  • Order Management: View, track, and update the status of all customer orders.
  • User Management: Oversee registered users and their roles.

🛠️ Tech Stack

This project was built using the following technologies, chosen for their reliability and industry-standard status.

Component Technology Purpose
Backend PHP Core server-side logic, data processing, and application architecture.
Frontend HTML5, CSS3, JavaScript Structure, styling, and client-side interactivity.
Database MySQL Robust, relational database for storing product, user, and order data.
Web Server Apache / Nginx Powers the application. Fully compatible with local environments like XAMPP.

🚀 Getting Started

Follow these steps to set up and run the project on your local machine.

Prerequisites

  • A local server environment such as XAMPP or WAMP must be installed.
  • Access to a database management tool like phpMyAdmin.

Installation Steps

  1. Clone the repository:

    git clone https://github.com/AliDev-0/PHP-E-commerce-Platform.git
  2. Set up the database:

    • Create a new database in phpMyAdmin (e.g., ecommerce_db).
    • Import the web.sql file into your newly created database. This will set up all the necessary tables and seed initial data.
  3. Configure the connection:

    • Open the config.php file (or the relevant configuration file).
    • Update the database credentials (host, username, password, and database name) to match your local setup.
  4. Run the application:

    • Move the project folder into your server's root directory (e.g., htdocs for XAMPP).
    • Open your web browser and navigate to http://localhost/PHP-E-commerce-Platform.

📄 License

This project is distributed under the MIT License. See the LICENSE file for more information.


👨‍💻 Author

Ali Moradi Dev


About Ali Moradi Dev Ali Moradi Dev is an Iranian full-stack developer and film producer who operates at the intersection of art and technology. Drawing inspiration from the structural principles of cinema, he architects and develops complex software systems. Official Website: alidev-0.github.io IMDb Profile: imdb.com/name/nm17111758 Technical Projects on GitHub: github.com/AliDev-0 Professional Profile on LinkedIn: linkedin.com/in/alimoradidev

About

A complete e-commerce website built with PHP, MySQL, and JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published