Grocery app aj
-
Upload
amita-jain -
Category
Education
-
view
312 -
download
0
Transcript of Grocery app aj
Submitted to
Smt. Chandaben Mohanbhai Patel Institute of Computer ApplicationsCHARUSAT, Changa.
CHAROTAR UNIVERISTY OF SCIENCE & TECHNOLOGY,Changa
June 2014 – December 2014
Internal Guide Submitted by
Dr. Sanskruti Patel Amita Jain[13MCAL019]
Priyanka Verma[13MCAL126]
Project ProfileTitle Grocery App
Front End Tool Android,PHP
Back End Tool MYSQL
Language Java, php
Documentation Tool Microsoft word, Microsoft Visio
Project Duaration 6 Months
Project Guide Dr. Sanskruti Patel
Submitted By Amita Jain [13MCAL019]
Priyanka Verma
[13MCAL126]
Submitted To Smt. Chandaben Mohanbhai Patel
Institute of computer Application,
changa
Existing System
The existing system is manual system so the delivery of product is not there.
Buyer need to go to the shop and buy the products.
Can do shopping from home.
For buying different kind of products he/she need to go different shops example, vegetables, species etc.
Proposed System Mobile application system
buyer and seller can communicate easily.
Need not to go different shops to buy products.
send SMS or e-mail to vendor or even to your specific vendor.
Commercialization of vendors.
Shopping with ease.
Availability of product with ease and just a single click on send SMS or email.
Scope of the Proposed System
Small scale shopkeeper can enhanced their area.
Buyer register themselves and access.
Multiple products available at one place to one shop (Grocery Application).
All the types of products available to buyer like dairy products, vegetables etc.
Aim and Objective of the Proposed System
The aim is to provide ease to the working men and
working women relaxation.
Home delivery.
Commercialization of seller.
Instant delivery of products
You are anywhere, products reached your home.
Feasibility Study The main aim of the feasibility study activity is to
determine whether it would be financially and technically feasible to develop the product. The feasibility study activity involves the analysis of the problem and the collection of relevant information relating to the product such as the different items which would be input to the system, the processing required to be carried out on these data, the output data required to be produced by the system, as well as constraints on the behaviour of the system.
Preliminary investigation examine the project Feasibility, the likelihood the system will be useful to the organization. There are three basic tests of feasibility study for computation of a new system and each one is equally important. These tests are Technical FeasibilityEconomical or Financial feasibilityBehavioural or Operational feasibility
Feasibility Study
Operational Feasibility
To use this system is not requires any sort of extra training.
Proposed system is beneficial only if it meet the user’s satisfaction
The management people are quite keen to see the new system developed
The system is bound to provide enhanced features with ease of operation
Accessibility of information
Technical Feasibility
Adequacies technology to develop the system
Sufficient hardware and software available to develop the system
Human power for maintenance
Technical Feasibility
Tools and programming language available
The system is expandable in many dimensions with respect with to addition of the more functionality, feature, etc.
Economical Feasibility
A system that can be developed technically and that will be used if installed must still be good investment for the organization
Financial benefits must be equal or exceed the investment
The cost of hardware and software will not be too high. It’s one time investment in system
Economical Feasibility
It does not require any special tool to be implemented. So it is economical feasible too
Speed up the communication process, which take a considerable amount of time when do manually.
SYSTEM MODULE Registration: If customer wants to buy the product then
he/she must be registered, unregistered user can go to the shopping cart but ultimately, they will come to the registration.
Login: Customer logins to the system by entering valid user id and password for the shopping.
By Buyer
By seller (shopkeeper)
Changes to Cart: Changes to cart means the customer after login or registration can make order or cancel order of the product from the shopping cart.
Payment: payment after delivery.
SYSTEM MODULE
Logout: After ordering (sending SMS or email) they can logout.
Report Generation: after list of shopped items generated user can check and update that and send SMS or email.
Technical Issues: This system will work on client-server architecture. It will require an internet server and which will be able to run PHP application. The system should support some commonly used browser such as IE or android devices etc.
Use Case Diagram for Admin
Admin
Login
Add Category
View Modify Delete
Add SubCategory
Search Category
View Modify Delete
Search Subcategory
Add Product*
*
*
**
*
**
Search Product
*
*
View Modify Delete
logout
*
*
<<include>>
<<include>>
<<include>>
<<include>>
<<include>>
<<include>>
GroceryApp
Use Case Diagram for Customer
Admin
Buyer
Register
login
types of product
AddCart
sms/email
logout
GroceryApp
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
ACTIVITY DIAGRAM For Registration
registration form
fill details
no
yes
account is created
Acknowledgement
start
end
Activity diagram For Product
login()
provide product details search product
save product
update product delete product
start
stop
ACTIVITY DIAGRAM For Place Order
Search Product
Add Product to Cart
Login()
View Product Details & confirm product in cart
Place Order
Provide shipping and billing address
[Case on
delivery]
Final conformation of shipping
no
yes
start
end
Class diagram
+getDescription() : String
+getCategoryID() : String
+getCategoryName() : String
+addCategory() : String
+setCategoryId() : String
+setCategoryID() : String
+setCategorydescription() : String
-CategoryID : String
+CategoryName : String
+CategoryDescrption : String
Category
-getCategoryID() : String
-getSubCategoryID() : String
+getSubCategoryName() : String
+getCategoryDescription() : String
+addSubCategory() : String
+setSubcategoryID() : String
+setSubCategoryName() : String
+setSubcategoryDescription() : String
-CategoryID : String
+SubCategoryID : String
+SubCategoryName : String
+SubCategoryDescription : String
SubCategory
+getProductID() : String
+getCategoryID() : String
+getDescription() : String
+getImagePath() : String
+getQuantity() : Integer
+setDescription() : String
+setQuantity() : Integer
+setCategoryID() : String
+setPrice() : Integer
+setImagePath() : String
+updateQuantity() : String
+setProductID() : String
+getProductName() : String
+setProductName() : String
+getPrice() : String
+setDescription() : String
-ProductID : String
-CategoryID : String
-SubCategoryID : String
+ProductName : String
#Quantity : Integer
#Price : Integer
#ImagePath : String
+Description : String
Product
#adduser() : String
+setUserInfo() : String
+getUserInfo() : String
-Username : String
-Password : String
#Name : String
-StreetNo : String
-Area : String
-City : String
-State : String
-ZipCode : String
-ContactNo : String
Register#addItem() : String
#removeItem() : String
+UserName : String
+CartID : String
+ProductList : String
+Quantity : String
+UnitPrice : String
+TotalAmount : String
-Date : String
+Status : String
CartDetail
+setUserInfo() : String
+getProductInfo() : String
+getCartInfo() : String
-CartId : String
-ProductName : String
-Quantity : String
-Username : String
-Address : String
-Contactno : String
SMS/Email
0..1
*
0..1
*
0..1
1
0..1
1
+Login()
-Username
-Password
Login
0..1
1
0..1
1
0..1
1
+getOrderStatus() : string
-userId : string
-Order_Status : string
order_status
+getAmount() : int
+getOrderStatus() : string
+gettrackingnummber() : string
+ship_name() : string
-ID : string
-UserId : string
-Ship_name : string
-Ship_address : string
-Ship_city : string
-Ship_Zipcode : string
-Amount : int
-phone : string
-email : string
-order_date : string
-tracking_number : int
-order_status : string
order
0..11
0..1
1
0..11
0..1
1
SEQUENCE DIAGRAM For Admin
* *
:register :login :manage details :product
register()
successfully login
enter details
add()
add item
update()
update item
delete()
delete item
logout
:Shopkeeper
Login Detail
successful
SEQUENCE DIAGRAMFor Product Management
:admin
**
:login :product
authintication()
add()
update()
delete()
added item
updated Item
delete item
not valid
SEQUENCE DIAGRAMFor Purchase Product
:customer
:search
search-cat()
:product
find()
view product
:cart
add to cart(select item)
:login :cash on delivery
cash on delivery()
record place
* *
Login detail
Successfully
if not availableif not find
REGISTER
Field
Name
Data
Type
Size Constraints Description
Firstname varchar 25 Primary Key firstName
LastName varchar 25 Not Null lastName
EmailID varchar 20 Not Null emailID
Password Varchar 8 Not Null Password
CATEGORY
Field Name Data Type Size Constraints Description
Category_ID varchar 6 Primary Key Category ID
CategoryName varchar 25 Not Null Category name
Category_Desc
ription
varchar 30 Not Null Category
description
SUBCATEGORY
Field Name Data Type Size Constraints Description
Category_Id varchar 6 Foriegn Key Category_ID
SubCategory_ID varchar 10 Primary Key SubCategoryID
Name varchar 25 Not Null Name of
subcategory
description varchar 50 Not Null description
PRODUCTField Name Data Type Size Constraints Description
ProductID Varchar 10 Primary Key Product Id
SubcategoryID Varchar 10 Foreign key SubCategoryId
productName Varchar 30 Not Null Product Name
quantity Int 3 Not Null Quantity
price Int 5 Not Null Price
imagePath Varchar 50 Not Null Image Path
Description Varchar 120 Not Null Product Description
CART DETAILField Name Data Type Size Constraints Description
CartId Varchar 6 Primary key CartiD
username Varchar 25 Foreign Key Category Id
Product_ID Varchar 10 Foreign Key Product Id
ProductName varchar 30 Not null Name of the
product
QuantityPerPr
oduct
Number 3 Quantity of
product
UnitPrice number 5 Per product
price
TotalAmount Number 6 Total amount
Date Date Date
Status Varchar 50 Status of cart
ORDER PLACEField Name Data Type Size Constraints Description
ID Int 10 Primary key Auto generated ID
User_id Varchar 10 Not null Autogenerated userid
Ship_name Varchar 25 Not null Name of buyer
Ship_address Varchar 30 Not null Address of buyer
Ship_city Varchar 15 Not null City of buyer
Ship_zipcode Int 6 Not null City zip code
Amount Int 6 Not null Total amount
Order_placed_date date --- Date of order
tracking_number Int 7 Not null Tracking number
Order_status Int 2 Not null Status of order
Email Varchar 35 Not null Emailed of user
Phone Int 10 Not null Contact number
ORDERFieldName DataType Size Constraints Description
Shipname Varchar 25 Notnull Buyer name
ShipAddress Varchar 100 Notnull Buyer’s address
Shipcity Varchar 20 Notnull Buyer’s city
shipZipcode Varchar 6 Notnull Buyer’s zipcode
Contact number Int 10 Not null Buyer contact nu
Emailid Varchar 30 Foreign key Buyer emailid
REGISTER ACTIVITY
This screen is our registration form.
From where user like buyer/seller can registered themselves.
CATEGORY ACTIVITY
Category screen is populated with the products available under the head of following category
SUBCATEGORY ACTIVITY
Subcategory is displayed you the list of products Available.
Click of any subcategory you go to products.
TESTING STRATEGIESPerformance Testing
Performance testing is in general testing performed to determine how a system performs in terms of responsiveness and stability under a particular workload. It can also serve to investigate measure, validate or verify other quality attributes of the system, such as scalability, reliability and resource usage.
TESTING STRATEGIESPerformance Testing
Performance testing is a subset of performance engineering, an emerging computer science practice which strives to build performance into the implementation, design and architecture of a system.
We did performance testing from login to add, view and modify the information of category, subcategory and product. For this we use the WAPT Tool with following test cases.
WAPT
Web testing is the name given to software testing that focuses on web applications. Complete testing of a web-based system before going live can help address issues before the system is revealed to the public.
WAPT
Issues such as the security of the web application, the basic functionality of the site, its accessibility to handicapped users and fully able users, as well as readiness for expected traffic and number of users and the ability to survive a massive spike in user traffic, both of which are related to load testing.
TEST CASESTest Case Number
Test case Input Result
TC1 Login user Id and PassWord
[email protected] @[email protected] [email protected] [email protected] abc
SuccessUnsuccessfulUnsuccessfulUnsuccessfulunsuccessful
TC2 Category, Subcategory, Product
id,name not null id, name null
Successfulunsuccessful
TC3 Logout login Screen successfulTC4 Dashboard category
Subcategory product
SuccessfulSuccessfulsuccessful
FUTURE ENHANCEMENTAdvertisements of new products.Notifications of user cart, sales, discount offer etc.Online payment gateway.Developed for other devices also such as blackberry, IOS
etc. Shopping malls can also connect with this.
BIBILOGRAPHYwww.androidhive.comwww.stackoverflow.comwww.developer.android.comProfessional Android 4 Application development (Reto Meier)The UML reference manual (James Rumbaugh, Ivar Jacobson)