TechCart is a full-stack e-commerce web application built using PHP, MySQL, Bootstrap 5, HTML5, CSS3, and JavaScript.
The application enables customers to browse electronic products, manage shopping carts, create accounts, place orders, and track their purchases. It also includes a dedicated administrator panel for managing products, customer accounts, and orders.
The project was built as a portfolio application to demonstrate practical full-stack web development concepts including authentication, CRUD operations, relational databases, session management, responsive design, and e-commerce workflows.
- User Registration
- Secure Login & Logout
- Password Hashing
- Profile Management
- Change Password
- Browse Products
- Search Products
- Filter by Categories
- Product Details Page
- Shopping Cart
- Update Cart Quantity
- Remove Items from Cart
- Checkout Process
- Order Confirmation
- Order History
- Order Details
- Responsive Design
- Secure Admin Login
- Dashboard
- Product Management
- Add Products
- Edit Products
- Delete Products
- User Management
- Order Management
- View Customer Orders
- HTML5
- CSS3
- Bootstrap 5
- Bootstrap Icons
- JavaScript
- PHP
- MySQL
- XAMPP
- phpMyAdmin
- Visual Studio Code
TechCart/
β
βββ admin/
β βββ add_product.php
β βββ delete_product.php
β βββ edit_product.php
β βββ index.php
β βββ login.php
β βββ logout.php
β βββ orders.php
β βββ products.php
β βββ users.php
β βββ view_order.php
β
βββ assets/
β βββ css/
β βββ images/
β
βββ config/
β βββ database.php
β
βββ database/
β βββ techcart.sql
β
βββ includes/
β βββ header.php
β βββ navbar.php
β βββ footer.php
β
βββ about.php
βββ add_to_cart.php
βββ cart.php
βββ categories.php
βββ change_password.php
βββ checkout.php
βββ clear_cart.php
βββ contact.php
βββ deals.php
βββ faqs.php
βββ index.php
βββ login.php
βββ logout.php
βββ my_orders.php
βββ order_details.php
βββ order_success.php
βββ place_order.php
βββ privacy.php
βββ product.php
βββ profile.php
βββ register.php
βββ remove_from_cart.php
βββ returns.php
βββ shipping.php
βββ shop.php
βββ test.php
βββ update_cart.php
βββ update_profile.php
β
βββ README.md
βββ LICENSE
Screenshots will be added soon.
Recommended screenshots:
- Home Page
- Shop
- Product Details
- Shopping Cart
- Checkout
- Profile
- Order History
- Order Details
- Admin Dashboard
- Product Management
- User Management
Register
β
Login
β
Browse Products
β
View Product Details
β
Add to Cart
β
Checkout
β
Place Order
β
View Order History
git clone https://github.com/BenjaminAyivoh1/TechCart.gitCopy the project folder into:
xampp/htdocs/
Launch:
- Apache
- MySQL
Create a database named:
techcart
Import
database/techcart.sql
using phpMyAdmin.
Edit:
config/database.php
Example:
<?php
$conn = mysqli_connect(
"localhost",
"root",
"",
"techcart"
);
if(!$conn){
die("Connection Failed.");
}
?>Open:
http://localhost/TechCart
Administrator Login:
http://localhost/TechCart/admin/login.php
- Wishlist
- Product Reviews
- Product Ratings
- Product Image Gallery
- Email Verification
- Password Reset
- Paystack Integration
- Stripe Integration
- Order Tracking
- Sales Analytics
- Coupons & Discounts
- Inventory Notifications
- Product Recommendations
- Dark Mode
University of Ghana
Contributions, suggestions, and feedback are welcome.
Feel free to fork the repository and submit a pull request.
This project is licensed under the MIT License.
See the LICENSE file for more details.
If you enjoyed this project or found it useful, please consider giving it a β on GitHub.
It helps others discover the project and supports my work.