(SRS) Online Shopping Cart

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 28

 

Online Shopping Portal 2013

Shri Vaishnav Institute of Technology and Science, Indore


Department of Information Technology
2013-2014

“Online Shopping Portal” 

Lab Submission Report For 


Software Engineering and Project Management
Lab

Guided By: Submitted by:


Akash Ralotiya(0802IT101006)
Mr.Jigyasu Dubey Divyendu Yadav (0802IT101019)
Mr.Chetan Verma Hitesh Aleriya(0802IT101024)
Rakesh Tejra(0802IT101049) 

1
 

Online Shopping Portal 2013

Shri Vaishnav Institute of Technology and Science, Indore

CERTIFICATE 
This is to Certify that   Mr. Divyendy Yadav (0802IT101019), Hitesh
Aleriya(0802IT101024), Rakesh Tejra(0802IT101049) and Akash
Ralotiya(0802IT101006) working in group have satisfactorily completed the
 project titled “Online Shopping Portal” towards the partial fulfillment of the
degree of  Bachelor of Engineering (Information technology). Awarded by
Rajiv Gandhi Technical University, Bhopal for the academic year 2013.

Project Guide Head of Department


Mr Jigyasu Dubey
Mr. Chetan Verma Dr. Ashish Bansal

Internal External

2
 

Online Shopping Portal 2013

Shri Vaishnav Institute of Technology and Science, Indore

ACKNOWLEDGEMENT
“We follow your foot-steps, we move on the path shown by you, we
acknowledge you, and we are proud to have guides like you.” 

We feel it our proud privilege to express our deep sense of gratitude and
Indebtedness to Dr. Ashish Bansal (Head of Department),Mr. Jigyasu
Dubey and Mr. Chetan Verma (Project Guide) for providing their 
 painstaking and untiring supervision. We own our deep sense of gratitude and
thanks for their constructive criticism, valuable suggestions and constant
encouragement at all stages of development of this project.

We wish to express our sincere thanks to all the faculty of Computer 


Science Department, for providing a conductive environment for proper 
development of project and the necessary facilities for completion of project.

We also express our sincere thanks and gratitude to Dr. Ing. V.P. Singh
(Principal) for their support and guidance and constant encouragement for 
completion of project.

Akash Ralotiya(0802IT101006)
Divyendu Yadav (0802IT101019)
Hitesh Aleriya(0802IT101024)
Rakesh Tejra(0802IT101049)

3
 

Online Shopping Portal 2013

Table of Contents

1. Introduction
1.1 Problem Statement………………………………………..   … 5 
1.2 Purpose…………………………………………………….... 5
1.3 Scope……………………………………………………....... 6 
1.4 Definitions, Acronyms and Abbreviations ………………… 6
1.5 Tools Used ………………………………………………… 7
1.6 References ………………………………………………… 8 
1.7 Technologies to be used …………………………………… 8
1.8 Overview…………………………………………………… 9

2. Overall Description
2.1 Use-Case Model Survey …………………………………… 10 
2.2 Assumptions and Dependencies….………………………… 14

3. Specific Requirements
3.1 Use-Case Reports …………...…………………………… 14
3.2 Activity Diagram ………………………………………… 22
3.2 Sequence Diagram…………………………………………. 26  
3.4 Class Diagram ………………………..…………………… 27
3.5 Supplementary Requirements ..…………………………….. 28

4
 

Online Shopping Portal 2013

1. Introduction

1.1  Problem Statement 


The user will be able to know the price of different products with their 
specifications of “different brands” within a city with the help of internet.

 Normally a person has to visit various shops in order to know the best price of 
the product which he /she wishes to purchase. It requires a lot of physical
work and also there is also wastage of time. The user is not able to know
about the original price of the product, since it is usually manipulated by the
owner of the shop according to his/her profit.

To overcome the above tedious problem, we will connect the price lists of all
the brands through a network and provide an efficient comparison between
different brands. Also all the price lists will be automatically updated if there
is any variation in the price of item according to the current price in the
market.

1.2 Purpose
The Online Shopping Network (OSN) web application is intended to provide
complete solutions for customers through a single get way using the internet
as the sole medium.
It will enable customer to browse through the shop and purchase them online
without having to visit the shop physically.
The administration module will enable a system administrator to approve and
reject requests for new shops and maintain various lists of shop category.

5
 

Online Shopping Portal 2013

1.3 Scope
The system accepts the General selling and purchasing of items , gives the
 proper information about the place where items are may be found . The
different areas where we can use this application are :  

  This can be used at everywhere because it is very easy to use and operate as

it is very user friendly.

  This software reduces the human effort and time saving.

  Anyone can make use of it for providing information about items and their 

 prices.

  Modifications can be easily done according to requirements.

1.4 Definitions, Acronyms and Abbreviations:

OSP (Online Shopping Portal): It is a web application that provides online


shopping facility for consumers.

Admin
Administrator: He/she has the authority to add/delete users, grant permission
to employees and maintain the content of application.

JSP
Java Server Pages
It is used to create dynamic web content.

J2EE
Java 2 Enterprise Edition

6
 

Online Shopping Portal 2013

A programming platform which is a part of java platform for developing and


running distributed java.

UML
Unified Modeling Language is a standard language for writing software
 blueprints. The UML may be used to visualize, specify, construct and
document

HTTP
Hypertext Transfer Protocol It’s a service protocol.

1.5 Tools Used


Application architecture – JAVA, J2EE

JAVA
Java is an object-oriented programming language developed by Sun
Microsystems a company best known for its high end UNIX workstations.
Java language was designed to be small, simple, and portable across
 platforms, operating systems, both at the source and at the binary level, which
means that Java programs (applet and application) can run on any machine
that has the Java virtual machine (JVM) installed.

Development tool – RAD

IBM Rational Application Developer for Web Sphere Software (RAD) is an


integrated development environment (IDE), made by IBM's Rational Software
division, for visually designing, constructing, testing, and deploying Web
services, portals, and Java (J2EE) applications.

Database platform – MY SQL

7
 

Online Shopping Portal 2013

MYSQL Database is the database management system that delivers a flexible


and cost effective database platform to build robust on demand business
applications and supports the J2EE and web services standards.

E-DRAW

Edraw Max is a 2D business technical diagramming software with rich


examples and symbols, which make it easy to create flowcharts,
organizational charts, ER diagram, Activity diagram, Use case diagram and
other software engineering diagrams.

1.6 References
  Object Oriented Modeling and Design with UML-Michael Blaha, James
Rambaugh.
  Software Engineering, Seventh Edition, Ian Sommerville.
  IBM Red Books.
  IBM – www.ibm.in/developerworks.
  Java - www.sun.com
  Wikipedia - www.wikipedia.com
  Database Management Systems - Navathe.
  Complete Reference - J2EE - Keogh.

1.7 Technologies to be used

  EDRAW- for UML Diagrams


  Rational Software Modeler.

8
 

Online Shopping Portal 2013

  SQL: Relational Database Management System.


   ADOBE DREAMWEAVER: Designing Software.

1.8 Overview

Existing System:
  Registration for users.
  Registration for Courier Managers
  Online Cart

Drawbacks:
  There is no maintenance of back up so availability will get affected.
  Limited to HTTP/HTTPS.
  Real-life credit card validation and Banking system is not implemented.  
   No multilingual support.

9
 

Online Shopping Portal 2013

2. Overall Description

2.1 Use Case Model Survey

Main Use case: 

View Item

     >
     >
   e
    d
    u
     l
   c
   n
     i
   < Administrator
   <

Make
Purchase
<    
<    
i    
n   
c   
l     
u   
d     
e   
>   
>   
Web Customer
Identity Provider
CheckOut

Client
Register

PayPal
 

10
 

Online Shopping Portal 2013

2.1.1 Use Case for User (Non-Registered)

Visit Site

Browse
Catalog

Visitor 

New Account
creation

Figure 1: Use Case Diagram for Visitor  

11
 

Online Shopping Portal 2013

2.2.2 Use Case for User (Registered)

Log In

   > Browse
 d e
   >

   l  u
 c Catalog
  i  n
  <  <

 u d e
  >  >
  l
 c
 i n
 < <
Add/Remove
items from
Shopping Cart
i nc 
<  <  
  l  
u d e 
> > 

Customer
CheckOut
Payment
Give
Feedback        >
      >
     e 
       d
     u
       l
     c 
     n
       i
     <
     <

View current
order status
View Account
Details

Figure 2: Use Case Diagram for User 

12
 

Online Shopping Portal 2013

2.1.3 Use Case for Admin

LogIn

Manage
customer
database

Administrator

Manage
Employee
batabase

Add/Remove/
Update categories
or items

 
Figure 3: Use case diagram for Administrator 

13
 

Online Shopping Portal 2013

2.3 Assumptions and Dependencies:

   Whole system works under the surveillance of the Administrator.


   Different functionalities are provided for registered and non-registered
user’s. 
  To login to system user require valid user id and password.
  Addition and deletion of item is a manual process .

3. Specific Requirements

3.1 Use case report: 

1.  Administrator :

  Database Management: Control the database and keep track of all


records of customers and employee details.

   Contact and Giving Permission to Vendors : Contact with the vendors


and give permission to sell their product under the site after testing the
 product’s quality. 

   View all details:  View the details of all employees and control the whole
site.

   Advertising the Site: Responsible for making advertisements for the site.

2.  Web Customers:

   Login: Customers must have a valid login id to enter into the site.

14
 

Online Shopping Portal 2013

   Registration: New users can sign up by creating new ID. 

   View and edit Own Details: Can view/edit his personal details, payment
details, and details about services provided. 

  Choosing and comparing products: Can view all available products and
can compare them and make a choice for purchasing products.  

   Purchasing: Can purchase any product through valid credit card. 

  Giving Feedback to Customer Care: Can give feedback to the 24X7


Customer Care Service center about their impression for the site and services.  

   Logout: Customer must logout of the site after purchasing products. 

3.  Visitors:

   Visiting the Site: Can only visit the site without registration. 


   Register: To buy products.

15
 

Online Shopping Portal 2013

MAIN FLOW: 

STEP ACTOR DESCRIPTION CONDITION LOCATION


1. Web Searches for the
Customer  item by
entering the
item name
2. Web Can view only If not a S-1
Customer  items. registered
customer 
3. Web Will enter the If entries don’t S-2
Customer  username and match
 password and
system will
verify
4. Web View item and If a registered S-3
Customer  make a customer 
 purchase
5. Administrator Keep the items
list updated
6. Administrator Checks client If a new user  S-4
registration want to sign
up
7. Administrator Provides If the web
Customer  customer goes
Authentication for purchase
8. Administrator Maintains If customer  S-5
Checkout finally wants
to purchase
the item
9. Identity Maintains
Provider  unique item list
10. Identity Check out
Provider  Customer 
authentication
11. PayPal Provide an
interface for 
 payment

16
 

Online Shopping Portal 2013

Precondition:
Administrator should be registered as authorized user .

Postcondition
Administrator should log out after the transaction.

Sub Flows:

(S-1)
STEP ACTOR DESCRIPTION CONDITION LOCATION
1. Web Customer If want to
 purchase an
item an
ERROR 
message is
generated
2. Web Customer System request
the user to
register him/her 

(S-2)

STEP ACTOR DESCRIPTION CONDITION LOCATION


1. Web Customer If username or 
 password don’t
match an
ERROR 
message is
generated
2. Web Customer If it matches
he/she is
 provided with
additional
functionalities
17
 

Online Shopping Portal 2013

(S-3)

STEP ACTOR DESCRIPTION CONDITION LOCATION


1. Web Customer Searches item
2. Web Customer Browse Item
3. Web Customer View
recommended
items
4. Web Customer Add item to For registered ALT-1
shopping cart user’s 
5. Web Customer Add to wish list

(ALT-1)
STEP ACTOR DESCRIPTION CONDITION LOCATION
1. Web Customer If item is added
 by a non-
registered
customer an
ERROR 
message is
generated
2. Web Customer User is allowed
the permission
to add item to
cart

18
 

Online Shopping Portal 2013

(S-4)
STEP ACTOR DESCRIPTION CONDITION LOCATION
1. Administrator System ask the
user to enter the
Username and
 password
2. Administrator User enters the Incorrect ALT-1
Username and username
 password /password
3. Administrator System ask the
user to create a
new account
4. Administrator User enters the Entries already ALT-2
required details in use

(ALT-1)
STEP ACTOR DESCRIPTION CONDITION LOCATION
1. Administrator If the
Username/password
entered by the User 
is
Incorrect/Incomplete
or not in the
database an error 
message is
generated

2. Administrator System request the


user to Re-Enter the
Username/password

19
 

Online Shopping Portal 2013

(ALT-2)

STEP ACTOR DESCRIPTION CONDITION LOCATION


1. Administrator If some of the
details already
used by someone
or already in the
database an error 
message is
generated

2. Administrator System request the


user to Re-Enter 
the details

(S-5)
STEP ACTOR DESCRIPTION CONDITION LOCATION
1. Administrator System ask the
user to enter the
Items in cart
2. Administrator User enters the Incorrect Item ALT-1
Item no. of the no.
 purchasing item
3. Administrator System ask the
user to enter the
quantity of item
to be purchased
4. Administrator User enters the Exceed max. ALT-2
quantity details limit

20
 

Online Shopping Portal 2013

(ALT-1)

STEP ACTOR DESCRIPTION CONDITION LOCATION


1. Administrator If the Item no.
entered by the User 
is
Incorrect/Incomplete
or not in the
database an error 
message is
generated

2. Administrator System request the


user to Re-Enter the
Item no.

(ALT-2)
STEP ACTOR DESCRIPTION CONDITION LOCATION
1. Administrator If the quantity
exceeds the
maximum limit an
error message is
generated

2. Administrator System request the


user to Re-Enter 
the quantity

21
 

Online Shopping Portal 2013

3.2 Activity Diagram

3.2.1 User Login Activity

22
 

Online Shopping Portal 2013

3.2 .2 User Registration Activity

23
 

Online Shopping Portal 2013

3.2.3 Place Order Activity 

24
 

Online Shopping Portal 2013

3.2.4 Make Payment Activity

25
 

Online Shopping Portal 2013

3.3 Sequence Diagram

26
 

Online Shopping Portal 2013

3.4 Class Diagram:

Admin Products
-Id:Integer
#name:Char
+1 ViewProducts() -Id:Integer
+1 Manage #name:Char
AddProductse()
#Group:Char
DeleteProducts() +1..* #SubGroup
ModifyProducts()
ConfrmDelivery()

+1..*
Customer

+  0  
-Id:Integer
. . *   #name:Char Buy
#Address:Char
 . .  *
#PhNo:Integer   +  0
+1 Cart
BuyProducts()
ViewProducts() -Id:Integer
MakePayment() #NoOfProducts:
AddToCart() Integer
DeleteFromCart() #Product1:Char
#Product2:Char
M #Price:Float
 a 
k  #Total:Float
 e 
 s 
Has
+1
Payment

+1 #CustomerId::Char
Name:Char
CardType:Char
CardNo:Char

 
27
 

Online Shopping Portal 2013

3.5 Supplementary Requirement:

  This Supplementary Specification applies to the Online Shopping Portal


System, which will be developed by our group.
  This specification defines the non-functional requirements of the system;
such as reliability, usability, performance, and supportability, as well as
functional requirements that are common across a number of use cases. (The
functional requirements are defined in the Use Case Specifications.)
Functionality:

  User should have an account for online transaction.


  System authorities are not responsible for any transaction failure.
  The main objective of this software is to reduce the work load of general
users and professionals.
  More efficient and time saving.

28

You might also like