8000 GitHub - Mahdi-Mouldi/E-CommercePHP
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Mahdi-Mouldi/E-CommercePHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-Commerce PHP Project

This is a simple e-commerce project built with PHP (procedural style) and MySQL as part of a school assignment.


⚡ Requirements

  • PHP >= 7.x
  • MySQL / MariaDB server
  • A web server (Apache, Nginx, or simply PHP's built-in server)
  • Basic knowledge of SQL

📂 Installation

  1. Clone the project
git https://github.com/Mahdi-Mouldi/E-CommercePHP.git
cd E-CommercePHP
  1. Create the database
  • Start your MySQL server
  • Create a new database
  • Import the SQL schema located in config/ecommerce_php.sql

⚙️ Configure Database Credentials

This project uses a simple .env file to manage your database credentials.

This file is not provided by default for security reasons.

Step 1: Create a .env file in the root of the project

DB_HOST=127.0.0.1
DB_USER=your_mysql_username
DB_PASS=your_mysql_password
DB_NAME=your_database_name

Step 2: Save the file


⚠️ Notes

  • This project is meant for educational purposes and may lack advanced security or production practices.
  • Uses pure PHP (procedural) as required by school conditions.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0