# 🥜 NutToppers E-commerce Website

A dynamic **E-commerce Website** developed using **PHP** and **MySQL** for selling premium dry fruits and nuts. The application provides a secure, responsive, and user-friendly shopping experience with features such as user authentication, product management, shopping cart, wishlist, and order management.

---

## 📌 Project Overview

**NutToppers** is a full-stack web application designed to simplify the online shopping experience for dry fruits and nuts. It provides customers with an intuitive interface to browse and purchase products, while offering administrators a dedicated dashboard to manage categories, products, customers, and orders efficiently.

---

## ✨ Features

### 👤 User Features

- User Registration & Login
- Secure User Authentication
- Browse Products by Category
- Product Search
- Product Details Page
- Shopping Cart Management
- Wishlist Management
- Update Product Quantity
- Secure Checkout Process
- User Profile Management
- Order Placement
- Order History
- Responsive User Interface

### 🛠️ Admin Features

- Admin Authentication
- Dashboard
- Category Management
- Product Management
- Multiple Product Image Upload
- Update & Delete Products
- Order Management
- Customer Management

---

## 💻 Technologies Used

### Frontend

- HTML5
- CSS3
- JavaScript
- Bootstrap

### Backend

- PHP

### Database

- MySQL

### Development Tools

- XAMPP
- phpMyAdmin
- Visual Studio Code

---

## 📂 Project Structure

```text
NutToppers/
│── admin/
│── assets/
│── css/
│── images/
│── includes/
│── js/
│── uploads/
│── index.php
│── login.php
│── register.php
│── product.php
│── cart.php
│── wishlist.php
│── checkout.php
│── profile.php
│── config.php
└── README.md
```

---

## ⚙️ Installation

### 1. Clone the Repository

```bash
git clone https://github.com/roma-saini/nuttoppers-ecommerce-website.git
```

### 2. Move the Project Folder

Copy the project folder to:

```text
xampp/htdocs/
```

### 3. Start the Server

Launch **Apache** and **MySQL** using **XAMPP**.

### 4. Create the Database

- Open **phpMyAdmin**
- Create a new database
- Import the provided SQL file

### 5. Configure the Database

Update the database credentials in:

```text
config.php
```

### 6. Run the Application

Open your browser and visit:

```text
http://localhost/nuttoppers-ecommerce-website/
```

---

## 🗄️ Database Modules

- Users
- Categories
- Products
- Shopping Cart
- Wishlist
- Orders
- Order Items

---

## 📸 Project Screenshots

- Home Page
- Product Listing
- Product Details
- Shopping Cart
- Wishlist
- Checkout
- User Dashboard
- Admin Dashboard

> **Note:** Add screenshots of these pages to showcase the application's interface and functionality.

---

## 🎯 Learning Outcomes

This project helped me gain practical experience in:

- PHP Programming
- MySQL Database Design
- CRUD Operations
- User Authentication & Authorization
- Session Management
- File Upload Handling
- Responsive Web Design
- E-commerce Application Development
- Database Integration

---

## 🚀 Future Enhancements

- Online Payment Gateway Integration
- Email Notifications
- Order Tracking
- Product Reviews & Ratings
- Coupon & Discount System
- AI-Based Product Recommendations
- Inventory Management
- Sales Analytics Dashboard

---

## 👩‍💻 Author

**Roma Saini**

BCA Student  
Amity University Rajasthan

GitHub: https://github.com/roma-saini

---

## 📄 License

This project was developed for educational and internship purposes.
