Академический Документы
Профессиональный Документы
Культура Документы
2018-2019
MEGAMART
A Dissertation submitted in partial fulfillment of the requirements for the
award of degree of
Dr. A.P.NIRMALA
Associate Professor
2018-2019
Scanned by CamScanner
Scanned by CamScanner
ACKNOWLEDGEMENT
I would like to thank Dr. Mohan Manghnani, Chairman of New Horizon College of
Engineering for providing good infrastructure and Hi-Tech lab facilities to develop
and improve student’s skills.
I thank all the staff members of the Department of Master of Computer Applications,
for extending their constant support to complete the project. I express my heartfelt
thanks to my parents and friends who were a constant source of support and
inspiration throughout the project.
TABLE OF CONTENTS
Chapter
Title Page No
No.
1 INTRODUCTION
1.1 General Introduction
1.2 Problem Statement 1-4
1.3 Existing System
1.4 Proposed System
2 REVIEW OF LITERATURE
5
2.1 Review Summary
3 SYSTEM CONFIGURATION 6
3.1 Hardware requirements
3.2 Software requirements
4 MODULE DESCRIPTION
4.1 Module 1
4.2 Module 2 7-9
4.3 Module 3
5 SYSTEM DESIGN
10-11
5.1 DFD Diagrams
6
6.1
SYSTEM IMPLEMENTATION
6.1.2
Implementation 12-25
Screen Shots
7 SYSTEM TESTING
7.1
26-28
Maintenance
9 REFERENCES
9.1 Text Reference 30
9.2 Web Reference
MegaMart 1NZ17MCA22
CHAPTER 1
INTRODUCTION
This project is a web based shopping system for an existing shop. The project objective is to
deliver the online shopping application to android platform. Online shopping is the process
whereby consumers directly buy goods or services from a seller in real-time, without an
intermediary service, over the Internet. It is a form of electronic commerce. This project is an
attempt to provide the advantages of online shopping to customers of a real shop. It helps
buying the products in the shop anywhere through internet by using an android device. Thus
the customer will get the service of online shopping and home delivery from his favorite
shop.
As online shopping became a trend nowadays the regular shops are losing their customers to
online brands. Customers have effortless shopping experience and saving time through
shopping online. For competing with those online brands, if shops are providing an online
portal where their customers can shop through internet and get the products at their doors it
The current system for shopping is to visit the shop manually and from the available product
choose the item customer want and buying the item by payment of the price of the item.
Department of MCA, NHCE 2018-2019 1
MegaMart 1NZ17MCA22
In the proposed system customer need not go to the shop for buying the products. He can
order the product he wish to buy through the application in his Smartphone. The shop owner
will be admin of the system. Shop owner can appoint moderators who will help owner in
managing the customers and product orders. The system also recommends a home delivery
Feasibility requirements are undertaken to have a view of understanding the features that are
the feasibility study will be divided into multiple sections so that the understandability can be
organized so for example if we have to design software the required investment and flow of
cash has to be properly analyzed in the same way technical associations are acquired to be
discussed.
Technical feasibility.
Operational feasibility.
Figure 1.1 Feasibility study required to be measured are shown in the above figure.
Technical feasibility
The customization that has to be operational when a particular identity or field is changed has
to be replicated in real time which has to be properly designed and tested for the workability.
All types of working references are provided in terms of the resources within the company
premises. The integrated settings that are required for the accompanied sharing and alert
system will also be associated properly and the vendor integrations will be tested for security
provisions. The accessibility of the standards that are required will be properly define so as to
acknowledge the formats of reports which has to be in-clubbed in different types of reporting
Operational feasibility
functionalities are provided. The applications that may arise has to be drafted it so that in the
incorporated to the system. A proper documentation will be provided with all variations of
report and the standing in the customization options that are provided under the setting.
Financial feasibility
Financial return on investment calculation so will be done by the financial team with the help
of multiple associated software that are available will be used. Considerations of the cash
CHAPTER 2
REVIEW OF LITERATURE
This is an app for people who want to purchase products from home or someone who don’t
have time to go to local shops. This application basically has two modules admin and user.
The user can sign up to use the application. After successful sign up he can login into his
account to check what the products available are. The user can add his desired product into
cart. The cart layout will show the products added to the cart and the total amount of the
selected products. Now the user need to provide his shipping details i.e. the address where he
wants his products to be delivered. After clicking the submit button his request will be
updated in the database from where the admin can check the list of products the user wants to
purchase. The admin is the one who takes care of all the things happening in the background.
The user can check all the users and their list of products in their respective cart based on
which he can ship the products. The admin can update or delete the products.
CHAPTER 3
Software requirements
Hardware requirements
CHAPTER 4
MODULE DISCRIPTION
4.1 ADMINISTRATOR
The administrator is the super user of this application. Only admin have access into this
admin page. Admin may be the owner of the shop. The administrator has all the information
Manage Products
Manage Users
The shopping cart contains different kind of products. The products can be classified into
different categories by name. Admin can add new products into the existing system with all
Administrator can delete the products based on the stock of that particular product.
The admin will have a list view of all the users registered in the system. Admin can view all
Administrator can view the orders which is generated by the users. He can verify the details
of the purchase.
Admin can delete order from the orders list when the product is taken for delivery.
4.2 USERS
4.2.1 Registration
A new user will have to register in the system by providing essential details in order to view
4.2.2 Login
A user must login with his user name and password to the system after registration.
Department of MCA, NHCE 2018-2019 8
MegaMart 1NZ17MCA22
User can view the list of products based on their names after successful login. A detailed
description of a particular product with product name, product details, product image, price
The user can add the desired product into his cart by clicking add to cart option on the
product. He can view his cart by clicking on the cart button. All products added by cart can
be viewed in the cart. User can remove an item from the cart by clicking remove.
After confirming the items in the cart the user can submit the cart by providing a delivery
CHAPTER 5
SYSTEM DESIGN
USER LOGIN:
USER REGISTRATION:
ADMIN LOGIN:
ADD PRODUCTS:
Add
Products
Admin Products
Delete
Products
CHAPTER 6
SYSTEM IMPLEMENTATION
6.1 Implementation
Implementation is the stage of the project when the theoretical design is turned out into a
working system. Thus, it can be considered to be the most critical stage in achieving a
successful new system and in giving the user, confidence that the new system will work and
be effective.
The implementation stage involves careful planning, investigation of the existing system and
its constraints on implementation, designing of methods to achieve changeover and
evaluation of changeover methods.
Once the design stage has been completed the developer can start writing the code and
actually develop the system. The system could either be completely bespoke with every code
line written by the specialist programmer or it can be developed by the off-the shelf
application which is customized later. The developers will follow the system requirement
specifications exactly.
Open Android Studio and then click on File -> New -> New project.
Then type the Application name as “ex.no.7″ and click Next.
Then select the Minimum SDK as shown below and click next.
Then select the Empty Activity and click next.
Finally click Finish.
It will take some time to build and load the project.
After completion it will look as given below.
Android Studio
Chrome
Genymotion
Xampp
Once the design stage has been completed the developer can start writing the code and
actually develop the system. The system could either be completely bespoke with every code
line written by the specialist programmer or it can be developed by the off-the shelf
application which is customized later. The developers will follow the system requirement
specifications exactly. If it is said to set a button 500 PX in the top left corner with color red
then exactly the same thing will be done by the developer. They should not deviate from the
specification at any cost without consulting the analyst.
Phased implementation has been used which decompose the problem into smaller milestones.
A check has to be always once a part is completed to check if the system works as specified.
To implement the system the way it has to and giving confidence to the users that the system
will work effectively is done here.
Hardware compatibility: whether the system has the minimum HW requirements for
the software to run on client system.
Browser compatibility: whether the browsers in client system support JavaScript and Php.
Implementation is the stage of the project when the theoretical design is turned out into a
working system. Thus, it can be considered to be the most critical stage in achieving a
successful new system and in giving the user, confidence that the new system will work and
be effective.
The implementation stage involves careful planning, investigation of the existing system and
its constraints on implementation, designing of methods to achieve changeover and
evaluation of changeover methods.
Once the design stage has been completed the developer can start writing the code and
actually develop the system. The system could either be completely bespoke with every code
line written by the specialist programmer or it can be developed by the off-the shelf
application which is customized later. The developers will follow the system requirement
specifications exactly.
Open Android Studio and then click on File -> New -> New project.
Then type the Application name as “ex.no.7″ and click Next.
Then select the Minimum SDK as shown below and click next.
Then select the Empty Activity and click next.
Finally click Finish.
It will take some time to build and load the project.
After a long project, the last thing many project teams want to do is relive the process and
look for ways to improve. However, a forward-looking review can discover many tips and
strategies for improvement.
6.2 Screenshots
Fig 6.1
Fig 6.2
Fig 6.3
Fig 6.4
6.2.5 Cart
Fig 6.5
Fig 6.6
RootRef.child("Users").child(phone).updateChildren(userdataMap)
.addOnCompleteListener(new OnCompleteListener<Void>() {
@Override
public void onComplete(@NonNull Task<Void> task) {
if (task.isSuccessful()) {
Toast.makeText(RegisterActivity.this,
"Congratulation, your account have been created", Toast.LENGTH_SHORT).show();
loadingBar.dismiss();
@Override
public void onCancelled(@NonNull DatabaseError databaseError) {
}
});
}
RootRef.addListenerForSingleValueEvent(new ValueEventListener() {
@Override
public void onDataChange(@NonNull DataSnapshot dataSnapshot)
{
if (dataSnapshot.child(parentDbName).child(phone).exists())
{
Users usersData =
dataSnapshot.child(parentDbName).child(phone).getValue(Users.class);
if (usersData.getPhone().equals(phone))
{
if (usersData.getPassword().equals(password))
{
if (parentDbName.equals("Admins"))
{
Toast.makeText(LoginActivity.this, "Welcome Admin, you
are logged in Successfully...", Toast.LENGTH_SHORT).show();
loadingBar.dismiss();
6.3.3 Cart
orderRef.addValueEventListener(new ValueEventListener() {
@Override
public void onDataChange(DataSnapshot dataSnapshot) {
if (dataSnapshot.exists())
{
String shippingState =
dataSnapshot.child("state").getValue().toString();
String username = dataSnapshot.child("name").getValue().toString();
if(shippingState.equals("shipped"))
{
txtTotalAmount.setText("Dear " + username + "\n order is shipped
successfully.");
recyclerView.setVisibility(View.GONE);
txtMsg1.setVisibility(View.VISIBLE);
txtMsg1.setText("Congratulation, your final order has been
Shipped successfully,soon you will received your order at your door step");
NextProcessBtn.setVisibility(View.GONE);
Toast.makeText(CartActivity.this,"You can purchase more products,
once you received your first final order. ",Toast.LENGTH_LONG).show();
}
else if (shippingState.equals("not shipped"))
{
txtTotalAmount.setText("Shipping State = Not Shipped");
recyclerView.setVisibility(View.GONE);
txtMsg1.setVisibility(View.VISIBLE);
NextProcessBtn.setVisibility(View.GONE);
}
}
}
@Override
public void onCancelled(DatabaseError databaseError) {
}
});
}
cartListRef.child("User View").child(Prevalent.currentOnlineUser.getPhone())
.child("Products").child(productID)
.updateChildren(cartMap)
.addOnCompleteListener(new OnCompleteListener<Void>() {
@Override
public void onComplete(@NonNull Task<Void> task)
{
if (task.isSuccessful())
{
cartListRef.child("Admin
View").child(Prevalent.currentOnlineUser.getPhone())
.child("Products").child(productID)
.updateChildren(cartMap)
.addOnCompleteListener(new OnCompleteListener<Void>() {
@Override
public void onComplete(@NonNull Task<Void> task)
{
if(task.isSuccessful()){
Toast.makeText(ProductDetailsActivity.this,"Added to Cart
List",Toast.LENGTH_SHORT).show();
CHAPTER 7
SYSTEM TESTING
7.1 MAINTENANCE
Software testing
The expected programming that is given will be checked to a wide range of demeanor of the
Planning arrangements gave regarding the measurements appropriately as the base of the
testing will be arranged legitimately for the vital observation with talking about the plans
with the related group compel so we can say that the testing office the improvement office
needs to work in a planned manner to sort out the related working of testing with the goal
recognitions will assist the associations with maintaining the framework work capacity
legitimately and even the expense of changes in the most recent ages will be calm higher.
Programming testing will assume significant job so a certainty can be developed for the
related customers to whom the framework will be given as it is very basic to keep up various
kinds of imitated data with itemized precision and observation. The framework will
characterize different sorts of customization which again required to be checked for so for
instance if any kind of job is characterized it must be checked for the continuous work
similarly any sort of custom sources of info are transformed it must be checked for the
functionality.
Figure 7.1: Test steps taken to understand working is shown in the above diagram
Discovery testing is related as far as our testing method as we need that after the framework
is tried inside the association to get past the functionality legitimately it must be given to the
customers likewise before they begin attempting to have an appropriate learning about the
work procedure this will assist them with understanding additionally the related working that
is related with the framework and in variety if any sort of issue emerges it very well may be
amended before the last discharge. Necessity of the inside code understanding isn't required
will be finished by the customers. Discovery testing will be done before the last discharge.
Unit testing
Different unit will be tried so for instance if the related representation alternatives is to be
checked it will be checked for the change with the assistance of various test information
similarly the client the executives will be checked for the replication of the rules gave that
works in the ongoing or not. The framework will be checked for various kinds of organizing
of the data that is related where the recognized data should run consequently to shape
different sorts of reports. The customization units are required to be tried appropriately as
account variation based working will be checked for the accuracy and for the structuring.
CHAPTER 8
RESULTS AND DISCUSSIONS
8.1 Conclusion
In this project, MegaMart, we have designed an app to help people to buy products from
there home or anywhere. The object of this app is to give users a seamless experience of
shopping. The users can shop products from various categories based on their needs. This
application have user registration and login module by which the user can enter to the
application and check for the variety of products available. The user can select the products
and also the quantity of the product he/she requires. They can provide their shipping details
to which the product will be delivered. Now the admin will login to the system and he can
see what are the products purchased by the people. He can check the cart of individual users
based on which he can deliver the products of each user. The admin can add or remove
There is a scope for further development in this project to a great extend. A number of
features can be added to the system in future like we wished to implement classes for
customers so that different offers can be given to each class. System may keep track of
history of purchases of each customer and provide suggestion based on their history.
CHAPTER 9
REFERENCES
Websites
[1] https://www.wikipedia.com
[2] https://www.google.com
[3] https://www.stackoverflow.com
Books
Databases”
CHAPTER 9
APPENDICES
0 %
SIMILARIT Y INDEX
%
INT ERNET SOURCES
0%
PUBLICAT IONS
%
ST UDENT PAPERS
PRIMARY SOURCES