GLOW & GLAM ECOMMERCE WEBSITE
This is a fully functional PHP-based website with user authentication, profile management, and an order tracking system. The website supports dynamic content retrieval from a MySQL database and includes secure session handling.
- User Registration & Login
- Profile Management
- Shopping Cart System
- Order Tracking
- Secure Logout
- Mobile Responsive Design
- Frontend: HTML, CSS, JavaScript
- Backend: PHP, MySQL
- Libraries: FontAwesome for icons
- Database: MySQL
Ensure you have the following installed:
- PHP (>=7.4)
- MySQL Server
- Apache Server (or XAMPP/WAMP for local testing)
- Git (for version control)
-
Clone the Repository
git clone https://github.com/CleopasMMuchiri/ecommerce_website cd your-repo -
Create Database
- Open phpMyAdmin or MySQL CLI.
- Create a new database:
CREATE DATABASE your_database_name;
- Import the SQL file located in the
databasefolder.
-
Configure Database Connection
- Open
private/config.phpand update:define('DB_HOST', 'localhost'); define('DB_USER', 'root'); define('DB_PASS', 'yourpassword'); define('DB_NAME', 'your_database_name');
- Open
-
Start Server
- If using XAMPP/WAMP, place the project inside
htdocs(XAMPP) orwww(WAMP). - Start Apache & MySQL.
- Access via
http://localhost/your-project-folder.
- If using XAMPP/WAMP, place the project inside
- Register a new account or log in.
- Add items to the cart and proceed to checkout.
- Track orders via the Orders page.
- Logout securely when finished.
This project is open-source and available under the MIT License.
For inquiries or contributions, feel free to reach out:
- Email: my email address
- GitHub: Your GitHub Profile