0% found this document useful (0 votes)
8 views

Detailed_ECommerce_Project_Report

The document outlines the detailed Software Development Life Cycle (SDLC) report for an e-commerce web application, covering requirement analysis, system design, coding, implementation, testing, deployment, and maintenance. Key features include user registration, product catalog, shopping cart, and admin management, with a focus on responsive design and security. The report serves as a comprehensive guide for developing and maintaining the application, suitable for a semester-level project.
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)
8 views

Detailed_ECommerce_Project_Report

The document outlines the detailed Software Development Life Cycle (SDLC) report for an e-commerce web application, covering requirement analysis, system design, coding, implementation, testing, deployment, and maintenance. Key features include user registration, product catalog, shopping cart, and admin management, with a focus on responsive design and security. The report serves as a comprehensive guide for developing and maintaining the application, suitable for a semester-level project.
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/ 5

E-Commerce Web Application - Detailed SDLC Report

1. Requirement Analysis

Objective:

To develop a responsive and user-friendly e-commerce website that supports browsing, cart functionality,

and order placement. Admins manage the inventory and view orders.

Stakeholders:

- End Users (Customers)

- Admin

- Developers

- College Supervisor

Functional Requirements:

- User registration/login

- Product catalog and detailed view

- Shopping cart system

- Order placement with summary

- Admin panel for product/order management

Non-Functional Requirements:

- Cross-browser compatibility

- Responsive design for mobile and desktop

- Data encryption for passwords

- Basic session-based authentication

Tools Required:

- Frontend: HTML, CSS, JavaScript

- Backend: PHP/MySQL or Node.js/MongoDB

- Editor: VS Code

- Server: XAMPP/WAMP
E-Commerce Web Application - Detailed SDLC Report

2. System Design

Architecture:

Client-Server Model with RESTful communication between frontend and backend.

Database Tables:

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

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

- orders (id, user_id, total, status, order_date)

- order_items (id, order_id, product_id, quantity)

- cart (user_id, product_id, quantity)

Design Elements:

- ER Diagram: shows relationships between users, products, and orders

- Use Case Diagram: includes login, view products, add to cart, checkout

- Data Flow Diagram (Level 0 and 1): outlines the flow of data between modules

3. Coding (Sample Code Snippets)

Frontend - HTML (Product Listing):

<html>

<body>

<div class="product">

<h2>Product Name</h2>

<p>$25.00</p>

<button>Add to Cart</button>

</div>

</body>

</html>
E-Commerce Web Application - Detailed SDLC Report

Backend - PHP (Product Fetch API):

<?php

include 'db.php';

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

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

echo json_encode($row);

?>

User Login - PHP:

<?php

session_start();

include 'db.php';

$email = $_POST['email'];

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

$result = mysqli_query($conn, "SELECT * FROM users WHERE email='$email' AND password='$pass'");

if(mysqli_num_rows($result) > 0){

$_SESSION['user'] = $email;

header("Location: dashboard.php");

} else {

echo "Invalid credentials";

?>

4. Implementation

Implementation Steps:

1. Set up project directory and install required tools

2. Create database schema and import into MySQL

3. Build frontend UI using HTML, CSS, JavaScript


E-Commerce Web Application - Detailed SDLC Report

4. Write backend logic for login, product listing, cart, and orders

5. Connect frontend to backend using AJAX or form submission

6. Conduct testing after each module integration

Directory Structure:

- /project

- /frontend

- /backend

- /images

- db.sql

5. Testing

Testing Types:

- Unit Testing: Test login, cart, order functionalities individually

- Integration Testing: Test how modules interact (login + order)

- System Testing: Complete end-to-end testing

Sample Test Case:

Test Case ID: TC001

Title: User Login

Steps: Enter valid credentials and submit

Expected Result: Redirect to dashboard

Test Case ID: TC002

Title: Add to Cart

Steps: Click 'Add to Cart' on product page

Expected Result: Product added to session cart

6. Deployment
E-Commerce Web Application - Detailed SDLC Report

For College Submission:

- Deploy on localhost using XAMPP/WAMP

- Test thoroughly before demonstration

- Optional: Deploy frontend on Netlify and backend on 000webhost

Deployment Steps:

1. Copy project to htdocs (XAMPP)

2. Start Apache and MySQL

3. Import DB using phpMyAdmin

4. Access project via http://localhost/project

7. Maintenance

Post-Project Maintenance Includes:

- Fixing bugs discovered after testing

- Database cleanup

- Adding more features (filters, reviews, payment)

- Keeping documentation updated for future use

Conclusion

This e-commerce project demonstrates the entire SDLC process, from requirement gathering to deployment.

It includes functional features suitable for a semester-level project and provides a foundation for future

enhancements.

You might also like