0% found this document useful (0 votes)
31 views6 pages

Full ECommerce Semester Project Report

The document outlines a semester project report for an e-commerce web application, detailing its objectives, technology stack, functional and non-functional requirements, and stakeholder involvement. It describes the system design, coding phase with sample code snippets, implementation steps, testing methods, deployment procedures, and future maintenance plans. The project aims to demonstrate a complete software development lifecycle through a functional e-commerce system that integrates core web development principles.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views6 pages

Full ECommerce Semester Project Report

The document outlines a semester project report for an e-commerce web application, detailing its objectives, technology stack, functional and non-functional requirements, and stakeholder involvement. It describes the system design, coding phase with sample code snippets, implementation steps, testing methods, deployment procedures, and future maintenance plans. The project aims to demonstrate a complete software development lifecycle through a functional e-commerce system that integrates core web development principles.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Semester Project Report - E-Commerce System

1. Introduction

Project Title: E-Commerce Web Application

Objective:

To design and implement a simple and functional e-commerce system that allows users to browse, search,

and purchase products online while enabling admin users to manage product listings and view orders.

Technology Stack:

- Frontend: HTML, CSS, JavaScript

- Backend: PHP with MySQL (XAMPP/WAMP stack)

- Database: MySQL

- Tools: VS Code, phpMyAdmin, XAMPP

2. Requirement Analysis

Functional Requirements:

- User Registration and Login

- Product Browsing and Search

- Add to Cart and Checkout

- Order Management

- Admin Panel for Product and Order Control

Non-Functional Requirements:

- Secure login (hashed passwords)

- Responsive user interface

- Data integrity and consistency

- Easy to deploy and use

Stakeholders:
Semester Project Report - E-Commerce System

- Customers (users)

- Admins

- Developers (students)

- Faculty/Instructor (evaluator)

3. System Design

Design Approach:

A simple MVC-like separation using PHP for backend, HTML/CSS/JS for frontend, and MySQL for storage.

Database Design (Simplified Schema):

- users(id, name, email, password, role)

- products(id, name, price, description, image, stock)

- orders(id, user_id, total_amount, status, created_at)

- order_items(id, order_id, product_id, quantity)

- cart(user_id, product_id, quantity)

System Diagrams (recommended to include in appendix):

- ER Diagram

- Use Case Diagram

- Data Flow Diagram Level 0 and 1

4. Coding Phase

Sample Code Snippets:

User Login - PHP

----------------

<?php

session_start();
Semester Project Report - E-Commerce System

include 'db.php';

$email = $_POST['email'];

$password = md5($_POST['password']);

$query = "SELECT * FROM users WHERE email='$email' AND password='$password'";

$result = mysqli_query($conn, $query);

if(mysqli_num_rows($result) > 0){

$_SESSION['user'] = $email;

header("Location: dashboard.php");

} else {

echo "Invalid credentials";

?>

Product Listing - PHP

---------------------

<?php

$result = mysqli_query($conn, "SELECT * FROM products");

while($row = mysqli_fetch_assoc($result)) {

echo "<div>".$row['name']." - $".$row['price']."</div>";

?>

Frontend - HTML (Cart Button)

-----------------------------

<button onclick="addToCart(1)">Add to Cart</button>

<script>

function addToCart(productId) {

fetch('add_to_cart.php', {

method: 'POST',

body: new URLSearchParams({ product_id: productId })

}).then(response => response.text()).then(data => alert(data));


Semester Project Report - E-Commerce System

</script>

5. Implementation

Step-by-Step Process:

1. Design and create the database in phpMyAdmin.

2. Develop user interfaces for login, signup, product listing, cart, and admin.

3. Implement backend logic using PHP and connect it to the database.

4. Link frontend actions with backend via forms and AJAX.

5. Test each module during development to ensure functionality.

Folder Structure:

/project-root

/admin

/user

/assets

db.php

index.php

6. Testing Phase

Testing Methods:

- Unit Testing for modules like login, add to cart, checkout

- Integration Testing for form submission to database

- Manual Testing using different test cases

Sample Test Case:

Test Case ID: TC001

Title: Valid Login


Semester Project Report - E-Commerce System

Input: Valid credentials

Expected Result: Redirect to dashboard

Test Case ID: TC002

Title: Add Product to Cart

Input: Click "Add to Cart" for product ID 1

Expected Result: Item added to session/cart table

7. Deployment

Local Deployment (XAMPP):

1. Place project files in htdocs folder

2. Start Apache and MySQL in XAMPP Control Panel

3. Create and import the database via phpMyAdmin

4. Access app at http://localhost/project

Optional Online Deployment:

- Use 000webhost or InfinityFree for free hosting

- Deploy frontend separately on Netlify (if using React)

8. Maintenance

Future Scope & Maintenance:

- Add product reviews and ratings

- Implement payment gateway integration (e.g., Razorpay/PayPal sandbox)

- Improve UI using frameworks like Bootstrap

- Set up email confirmations for orders

Maintenance involves:

- Bug fixes and patching security issues


Semester Project Report - E-Commerce System

- Database backups

- Updating product catalog

9. Conclusion

This semester project demonstrates a complete SDLC cycle through a real-world inspired e-commerce

system. It implements core web development principles including frontend/backend integration, database

handling, session management, and basic security.

This system provides a strong base for future improvements and industry-level implementations.

You might also like