Professional Documents
Culture Documents
BY
NAME
REG NO.
March, 2023
DECLARATION
I hereby declare that this report written in partial fulfillment of the requirements of the award
of a Bachelor of Information Technology degree of Kampala International University is my
very own work has never been submitted anywhere else for any purpose.
i
APPROVAL
This is to confirm that the content of this project report is a representation of what Name
established after conducting his independent study. This piece of work has been read, closely
monitored and approved by;
Signature…………………………………...Date………………………………
SUPERVISOR NAME
Supervisor
The School of Mathematics and Computing
ii
DEDICATION
This piece of work is dedicated to those who have extended their helping hands to make me
achieve this today and worked so hard and tirelessly to ensure that I attain this level of
education.
iii
ACKNOWLEDGEMENT
I give glory to the almighty God for his blessings, unfailing love, protection, strength and
confidence He provided to me which enabled me to persevere and go through all the challenges
that came in my academic pursuit particularly the project work.
My sincere heartfelt appreciation goes to my supervisor for the resourceful guidance and highly
constructive ideas, the time and patience extended to me in the process of this project.
I am grateful to my beloved parents for their struggle to provide finances for my entire course,
their love, care and encouragement. May God bless them abundantly.
I also wish to extend my heartfelt appreciation to all the lecturers at the school of computing
and information technology whose teachings gave me the road map for this project.
Finally, I extend my appreciation to all my friends who in one way or the other have helped
me expand my capacities in the preparation of this project which required tremendous amount
of time and support. I am really grateful my friends.
iv
TABLE OF CONTENTS
DECLARATION ........................................................................................................................ i
APPROVAL...............................................................................................................................ii
DEDICATION ......................................................................................................................... iii
ACKNOWLEDGEMENT ........................................................................................................ iv
LIST OF ABBREVIATIONS ................................................................................................... ix
ABSTRACT ............................................................................................................................... x
1.0 Introduction ...................................................................................................................... 1
1.1 Background of the Study.................................................................................................. 1
1.2 Problem statement ............................................................................................................ 2
1.3.1 Specific Objective of the study. .................................................................................... 2
1.4 Scope of the Study ........................................................................................................... 3
1.4.1 Content Scope ............................................................................................................... 3
1.4.2 Period Scope ................................................................................................................. 3
1.4.3 Geographical Scope ...................................................................................................... 3
1.4.3 Significance of the Study .............................................................................................. 3
CHAPTER TWO ....................................................................................................................... 4
LITERATURE REVIEW .......................................................................................................... 4
2.0 Introduction ...................................................................................................................... 4
2.1 Website: ........................................................................................................................... 4
2.3 World Wide Web ............................................................................................................. 4
2.4 Web browsers ................................................................................................................... 4
2.5 Importance of a Website .................................................................................................. 5
2.5.1 Announcing the Web Site ............................................................................................. 5
2.5.2 E-commerce. ................................................................................................................. 5
2.6 Electronic business ........................................................................................................... 6
2.6.1 Benefits of E- business .................................................................................................. 6
2.6.2 Limitations of E-business.............................................................................................. 7
2.7 E-commerce versus e-business ........................................................................................ 8
2.8 Internet ............................................................................................................................. 9
2.8.1 A brief history of Internet ........................................................................................... 10
2.9 Existing Systems ............................................................................................................ 11
2.9.1 Retail Pro: ................................................................................................................... 11
v
2.9.2 Lightspeed Retail: ....................................................................................................... 11
2.9.3 Square for Retail: ........................................................................................................ 11
2.9.4 Vend: ........................................................................................................................... 11
2.9.5 QuickBooks Point of Sale: .......................................................................................... 11
2.9.6 NCR Counterpoint: ..................................................................................................... 12
2.9.7 Prodigy POS:............................................................................................................... 12
2.9.8 ShopKeep: ................................................................................................................... 12
2.9.9 Conclusion .................................................................................................................. 12
CHAPTER THREE.................................................................................................................. 13
RESEARCH METHODOLOGY ............................................................................................. 13
3.0 Introduction .................................................................................................................... 13
3.1 Research Design ............................................................................................................. 13
3.2 Research Methodology .................................................................................................. 13
3.2.1 Iterative Model ............................................................................................................ 13
3.3 Study Area...................................................................................................................... 14
3.4.1 Study Population and Sample Size ............................................................................. 14
3.4.2 Sample Size ................................................................................................................. 14
3.5 Data Collection Methods ............................................................................................... 15
3.5.1 Observation ................................................................................................................. 15
3.5.2 Interviews .................................................................................................................... 15
3.5.3 Questionnaires ............................................................................................................. 16
3.6 System Analysis ............................................................................................................. 16
3.6.1 The Existing System ................................................................................................... 16
3.6.2 Weakness of The Existing Approach .......................................................................... 17
3.6.3 Strength of The Existing Approach ............................................................................ 17
3.6.4 Proposed System ......................................................................................................... 17
3.7 Requirements ................................................................................................................. 17
3.7.1 Functional Requirements ............................................................................................ 17
3.7.2 Non-functional Requirements ..................................................................................... 18
3.7.3 Requirement Specification. ......................................................................................... 18
3.7.4 Software Requirement................................................................................................. 19
3.7.5 Hardware Requirements .............................................................................................. 19
3.7.6 Software Specifications............................................................................................... 19
vi
3.8 System design methods .................................................................................................. 20
3.9 System implementation, testing and validation methods. .............................................. 20
3.9.1 System implementation methods ................................................................................ 20
3.9.2 System testing methods ............................................................................................... 20
3.10 Conclussion .................................................................................................................. 20
CHAPTER FOUR .................................................................................................................... 22
SYSTEM DESIGN AND IMPLEMENTATION .................................................................... 22
4.0 Introduction .................................................................................................................... 22
4.1 System design ................................................................................................................ 22
4.1.1 A simple flow chart for the borrowing process: ......................................................... 23
4.2 Architecture Design. ...................................................................................................... 24
4.2.1 Level 0 Context Diagram ............................................................................................ 25
4.3 Data Modelling .............................................................................................................. 25
4.3.1 Entities and Attributes ................................................................................................. 25
4.3.2 Logical Database Design ............................................................................................ 25
4.3.3 Physical Database Design ........................................................................................... 27
4.4 Relationship ................................................................................................................... 28
4.4.1 Modelling Relationships Between Entities ................................................................. 28
4.4.2 Entity relationship diagram ......................................................................................... 29
4.5 Implementation of the system ........................................................................................ 29
4.5.1 Functions provided by the System .............................................................................. 29
4.5.2 Functions provided to the Admin................................................................................ 30
4.5.3 Functions provided to the Employees. ........................................................................ 30
4.5.4 Functions provided to the Cashiers. ............................................................................ 30
4.5.5 Functions provided to the Vendors. ............................................................................ 30
4.5.6 Project tools................................................................................................................. 30
4.6 Results ............................................................................................................................ 31
4.6.1 User Interfaces ............................................................................................................ 31
4.6.2 Sample Screenshots of the Design and Developed System. ....................................... 31
4.7 Testing and validation of the system. ............................................................................. 36
4.7.1 System Testing ............................................................................................................ 36
4.7.1.1 User Testing ............................................................................................................. 36
4.7.1.2 Modelling /Unit Testing ........................................................................................... 36
vii
4.7.1.3 Integration Testing ................................................................................................... 37
4.7.1.4 Security Testing ....................................................................................................... 37
4.7.2 System Validation ....................................................................................................... 38
CHAPTER FIVE...................................................................................................................... 39
DISCUSSION, CONCLUSION AND RECOMMENDATIONS ........................................... 39
5.1 Introduction .................................................................................................................... 39
5.2 Discussion ...................................................................................................................... 39
5.3 Conclusion ..................................................................................................................... 40
5.3 Recommendations .......................................................................................................... 40
REFERENCES......................................................................................................................... 41
viii
LIST OF ABBREVIATIONS
DFD - Data Flow Diagram
GB - Giga Byte
GH - Giga Hertz
JS - JavaScript
MB - Mega Byte
ix
ABSTRACT
The purpose of this project was to develop a Supermarket management system for Dejavour
Supermarket Limited. The researcher collected data through interviewing the company's
employees and customers/clients met at the Supermarket's main branch, and observing how
the previous system was functioning from where I based myself to come up with the project
report and system. Because of the nature of this study, data was further collected from
secondary sources like literature review. Results from data collected indicated that the system
being used was inefficient in tracking, storage and retrieval of supermarket sales and stock
information which led to delays in decision making for the management. Therefore, to solve
the above problem I designed, implemented, tested and validated a well functioning
Supermarket management system for Dejavour Supermarket. The system developed is now
able to efficiently track, store and retrieve supermarket sales against stock information in a
timely and convenient fashion, thus decision making was enhanced. The research examined
ways of expanding the product selling systems to improve on existing systems. Future research
work is also needed on how to build better products and inventory management systems to
improve efficiency, reliability and user-friendly systems.
x
CHAPTER ONE
INTRODUCTION
1.0 Introduction
Dejavour supermarket is a supennarket located in Kanyanya along Gayaza road. After its
inception dejavour supermarket has been using a manual file-based information system to
manage inventory stock and sales information. Purchasing information, vendor and regular
customer information has been stored in books and on paper receipts. At first this seemed to
work perfectly but as competition in the business increased and the number of customers and
vendors increased, the whole process became slow and less efficient. At times fewer
inventories would be purchased leading to shortage of services to the customers or at times
losses may not be realized and total sales would be hard to calculate. Management thus decided
to make a change and institute a Supetmarket management system that will allow easy storage
and viewing of supermarket inventory stock and sales information to make timely decisions
(Olong, 2007).
In Uganda, most supermarkets still use manual systems, but there is a growing interest in
electronic supermarket management systems due to their potential to improve operational
efficiency and customer service. Dejavour Supermarket is a local grocery store in Uganda that
has been in business for the past ten years. The store has been facing challenges in managing
its inventory, sales, and customer data due to the manual system in use (Olong, 2007).
1
sales, and customer data, improving the store's efficiency and accuracy. Additionally, the
system will enable the store to provide better customer service and generate reports and
analytics to aid in decision-making processes.
2
1.4 Scope of the Study
3
CHAPTER TWO
LITERATURE REVIEW
2.0 Introduction
This chapter entailed literature about E-business, websites, their benefits and the impact on
businesses that employ them through different electronic activities.
2.1 Website:
A website is a collection of related files for example hypertext markup language and, graphic
files. These files are supported by World Wide Web.
According to Williams (1999), a web site is the internet location on a computer or server on
which hypertext document is stored (Williams, 2000).
Cailliau etal (2001) stated that a website is a collection of web pages, images, videos, and other
digital assets that are hosted on one or several web servers, usually via internet, cell phone or
local area network (Murray, 2013).
In relation to my project, the website will contain; home 'page, about use, orders log in, offers
contact us plus other related files and complements like images. ·
4
2.5 Importance of a Website
If you are into business, an owner of small, medium or big company, then you need to own a
website for many reasons as analysed below.
There are approximately 970 million internet users, 15% of world's population. Thus, it's the
most efficient way to get potential customers from all over the world. There are competitors in
every business. This is like going for a business exhibition on the internet. You can stop
competition in any business but at least make you identify so that your, potential customers are
given a chance of comparing and subsequently buying your products or engaging your services
with the help of a professional business website.
Websites have no boundaries as far as place or region or country is concerned. It's international.
If you have a website then you have something international that overcomes the limits between
countries and continents (Williams, 2000).
2.5.2 E-commerce.
According to forester (2009) E-commerce consist of primary distributing, buying, selling,
marketing and serving of products and services over electronic · system such as the internet
and other computer networks.
The information technology industry might see it as an electronic business application aimed
at commercial transaction. It can involve electronic funds transfer, supply change management;
marketing online, electronic · data interchange. Automated inventory management system and
automated data collection system. It typically uses E-book database and mobile phone.
Wen Joseph eta! (2001) defined E-commerce as buying and selling of products and service via
computer networks, mainly the internet (Mutz, 2005).
5
E- Commerce offers functionality and new ways of doing business that no company can afford
to ignore.
Napier eta I (200 I). define E-commerce as the process of buying and selling of products and
services across a telecommunication network.
The initial development of E-commerce begun in 1960s and 1970s when banks began
transferring money to each other electronically using electronic funds transfer (EFT), and when
large companies began sharing transaction information electronically with their suppliers and
customers via electronic data interchange (GOH HUAT CHOON, 2006).
According to Daniel Amor (2000), one of the first to use the term E-business was IBM in l997.
IBM defines E-business as a secure, flexible and integrated approach to delivering
differentiated big value by combining the systems and processes that nm core business
operations with simplicity and reach made possible by internet technology.
E-business is doing business online. E-business is any process that is empowered by an
information system (Meckel, 2004).
6
Acquire greater business visibility. Internet has enabled many businesses to enhance their
images and get their names in front of potential buyers. In early days many companies created
websites that were a little more than a company's brochure. Today companies use the power of
internet to be recognized hence increasing credibility of the business. Maximize customer
relationships and improve responsiveness. Internets being the ultimate tool for communication,
companies that do business online are able to stay in touch with their customer's needs and
provide information to enrich their customers' online hence building customer loyalty (Swift,
2001).
Many people in Uganda lack sufficient time and resources to visit company's premises in case
of their needs. But with internet closer relationships can be maintained reduced costs. One of
the most important factors inherent in doing business online is the potential to reduce costs
associated with gathering and maintaining information from customers as well as broadening
their awareness. Sustaining a business in Uganda through radio advertisement, television
advertisement, television advertisement and news papers is quite expensive with provision of
much more limited information thus a need to go online (Swift, 2001).
Operates 24 hours a day and 7 days a week from one virtual market space. Despite the many
insecurity cases in Uganda and time constraints, E-business enables customer to shop at any
time and from any place that offers them convenience.
7
• Difficulty in integrating the existing system of business with e-business system since
buyer’s desire to touch and feel products before purchase. And this is due to higher
levels of insecurity in Uganda that are prevalent on many websites.
• Insufficient telecommunication capacity or bandwidth. This makes computer to slow
down when. downloading.
E-marketing
Dave Chaffey (2005) defines E-marketing as applying digital technologies which form online
channels web, email, database to contribute to marketing activities aimed at achieving
profitable acquisition and retention of customers through improving customer's delivering of
integrated targeted communication and online services that match their individual needs.
The web and E-mail communications should be personally tailored to individual buyer based
on information obtained in research.
Online channel should be used to support the whole buying process to sale and further
development of customer relationship where this is appropriate (Swift, Accelerating customer
relationships: Using CRM and relationship technologies. Prentice Hall Professional., 2001).
Benefits of E-marketing.
E-marketing uses the internet as platform that allows firms to adopt to the needs of customers,
reduces transaction costs and allows customers to move from time to time and location-based
behaviours towards non-temporal and non-locational behaviours (Sheth, 2005).
8
E-marketing can create interactions by customizing information for individual· customers that
allow customers to design products and services that meet their specific requirement.
2.8 Internet
Napier et al (2001) defined Internet as a public worldwide network of networks, connecting
many small private networks.
Millions of people use internet to shop for products and services, conduct research, keep up to
date with current events and send e-mail. More and more businesses are using the internet to
conduct their business activities. According to Amor (2000), the Internet offers a whole range
of new technologies to increase your marketing activities and also offers a much higher degree
of interaction. Customers and partners have different expectations; they expect that your
offerings was available 24 hours a day, without interruption and they can ask questions
whenever they feel like. People expect to be able to ask questions directly and if you are not
able to fulfill the expectations of your customers and the customers of your ·customers, then
you should not go onto the web. But this would mean immediate death of your business.
9
2.8.1 A brief history of Internet
The internet originated in 1960s, when the United states Department of Defense developed a
network of military computers called ARPANET [Advanced Research Projects Agency
Network]. Quickly realizing the usefulness of such a network, researchers at colleges and
universities soon began using it to share data. In the I 980s the military portion of early Internet
became a separate net work called the MILNET Meanwhile the National Science Foundation
[NSF] began overseeing the remaining military portions, which is called the NSFnet.
Thousands of other government, academicians, and business computer networks began
connecting to the NSFnet. By the late 1980s, the term internet had become widely used to
describe this huge worldwide "network of networks" (Napier et al 2001).
10
2.9 Existing Systems
2.9.4 Vend:
Vend is a cloud-based supermarket management system that provides inventory management,
sales tracking, customer management, employee management, and reporting and analytics. It
also includes tools for e-commerce and mobile POS. However, one of its gaps is that it may
not be as feature-rich as some other systems (Marr, 2019).
11
2.9.6 NCR Counterpoint:
NCR Counterpoint is a supermarket management system that provides inventory management,
sales tracking, customer management, employee management, purchase order management,
and reporting and analytics. It also includes tools for e-commerce and mobile POS. One of its
gaps is that it can be expensive for some businesses (Mateescu, 2019).
2.9.8 ShopKeep:
ShopKeep is a cloud-based supermarket management system that provides inventory
management, sales tracking, customer management, employee management, and reporting and
analytics. It also includes tools for e-commerce and mobile POS. However, one of its gaps is
that it may not be as customizable as some other systems (Sahay, 2016).
2.9.9 Conclusion
Conclusively, today's world modem technology is inclusive of E-commerce and marketing
which are subsets of E-business and the most efficient way to reach potential customers is by
going online and boosting the existing awareness of the company. Taking into consideration
of what the mentioned authors talk about Websites, E-business, marketing and c-commerce,
will make the business successful in this internet age.
12
CHAPTER THREE
RESEARCH METHODOLOGY
3.0 Introduction
This chapter presents the research design and methodology for developing an electronic
supermarket management system for DeJavour Supermarket. The chapter describes the study
area, population, and sample size, as well as the data collection methods used. The existing
system is analyzed, and the proposed system is presented.
13
The figure below shows the SDLC of the Iterative methodology.
𝑁
𝑛=
1 + 𝑁𝑒2
14
At least 30% of the total population is representative (Shahrokh Esfahani, 2014). Thus, the
study will be conducted on a convenience sample size.
The sample size for this study is 50, which is a representative sample of the study population.
3.5.1 Observation
Observation is used to collect data on the existing supermarket management system. This
method involves observing the system in operation, documenting its features and functions,
and identifying areas for improvement.
During this period, I took the opportunity to look carefully at how DeJavour Supermarket
conduct business vendors, products they normally purchase, where they like to purchase from
and the amounts they are willing to pay for services. Some other observations made were the
mode of payment which was mostly cash.
3.5.2 Interviews
Interviews are conducted with supermarket employees to gather their perspectives on the
existing system and their requirements for the new system. Interviews are also used to identify
challenges and opportunities associated with the new system.
I used two interview techniques in my research. These are the structured and unstructured
interviews.
Structured Interview:
In the structured interview, a laid down format or procedure was followed. This was conducted
with some supermarket attendants and people with knowledge about the Inventory systems and
the supermarket industry. Some of the questions I asked are;
i Can you describe the main features and functions of the previous system used by
Dejavour Supermarket, and how it was used to manage inventory, sales, and other
business processes?
ii What were some of the challenges and limitations of the previous system, and how did
these impact the efficiency and effectiveness of Dejavour Supermarket's operations?
15
iii How did Dejavour Supermarket maintain and update the previous system, and what
kind of resources (e.g., staff, budget, technology) were required to do so?
iv How did employees of Dejavour Supermarket use the previous system on a daily basis,
and what kind of training or support was provided to ensure that it was used correctly
and efficiently?
v Can you describe any specific examples of how the previous system led to errors or
inefficiencies in Dejavour Supermarket's operations, and how these issues were
addressed?
Unstructured Interview:
The unstructured interview was conducted without any officially written questions to be asked
or format to be followed. Information was basically derived from interviewees through
conversations along lines that led us to the kind of information I needed. Some of the
individuals I conducted this interview on were people well versed in issues concerning the
suppermaket industry and some suppermaket attendants.
3.5.3 Questionnaires
Open ended and closed types of questioners was used to elicit the appropriate responses from
the targeted population. Researcher used questionnaire because they are cheap compared to
interview and they can help get information easily from large population.
Questionnaires are used to collect data from supermarket customers, including their shopping
habits, preferences, and feedback on the existing system.
16
3.6.2 Weakness of The Existing Approach
The weaknesses of the existing system include its manual operations, lack of real-time data,
and high potential for errors and delays.
3.7 Requirements
17
3.7.2 Non-functional Requirements
Non-functional requirements are the characteristics of a system that describe how it operates,
rather than what it does. Here are some potential non-functional requirements for an electronic
supermarket management system:
i Performance: The system should be able to handle a large number of transactions
simultaneously without significant delays or crashes.
ii Reliability: The system should be available and operational 24/7, with minimal
downtime for maintenance.
iii Security: The system should have robust security measures in place to protect sensitive
customer and business data, such as encryption, firewalls, and intrusion detection
systems.
iv Scalability: The system should be able to accommodate an increasing number of stores,
products, and customers without sacrificing performance.
v Usability: The system should be easy to use and intuitive for employees and customers,
with clear and simple interfaces.
vi Accessibility: The system should be accessible to people with disabilities, including
those with visual or hearing impairments.
vii Compatibility: The system should be compatible with various hardware and software
configurations, including different operating systems and browsers.
viii Maintainability: The system should be easy to maintain and update, with clear
documentation and support from the vendor.
ix Disaster Recovery: The system should have a disaster recovery plan in place in case of
unforeseen circumstances such as natural disasters or cyber-attacks.
x Compliance: The system should comply with relevant laws and regulations, such as
data protection laws, tax laws, and consumer protection laws.
18
3.7.4 Software Requirement
Table below shows the software specifications that a machine running the Electronic
Supermarket Management System should poses.
Operating system Windows 7, 8, 10, 11, all ubuntu versions and marc
OS
Microsoft visual code: This is the text editor that we will use for developing the new system
using the programming languages especially HTML and PHP.
19
3.8 System design methods
This section describes the system design in relation to the structural topology, how different
processes interact with each other, and the relationships between different entities. In this
section the following tools will be used; architectural design, context diagram and data flow
diagram, flow chart and entity relationship diagram.
CSS3, BOOTSTRAP5, HTML5 and JAVA SCRIP was used for front-end
b) MySQL was used for database management system (DBMS) because it is fast, reliable,
easily integrated with PHP and runs on various platforms.
3.10 Conclussion
In conclusion, this study aimed to analyze the existing electronic supermarket management
system used by Dejavuor Supermarket and propose an improved system to address its
weaknesses. Through the research methodology, which included observation, interviews, and
questionnaires, the study identified the weaknesses of the existing system, including slow
checkout process, limited payment options, and inadequate inventory management.
The proposed system addressed these weaknesses by introducing a faster checkout process
using barcode scanners and integrating multiple payment options, including mobile payments.
It also implemented a more robust inventory management system, including real-time tracking
of stock levels and automatic reordering of products when stock levels run low.
20
The iterative model used in the research allowed for continuous improvement of the proposed
system based on feedback from stakeholders, ensuring that the final system was tailored to the
specific needs of Dejavuor Supermarket.
Overall, the proposed system is expected to increase efficiency, reduce costs, and improve
customer satisfaction for Dejavuor Supermarket. It is recommended that the supermarket
implements the proposed system as soon as possible to maximize its benefits.
21
CHAPTER FOUR
System design strains to give a more detailed and clearer picture of the process modelling phase
of the system using tools such as the context diagrams, level 1 diagrams, and data dictionaries
as well as the modelling phase while deploying tools such as the conceptual data model, and
the entity relationship diagram.
Development Methodology
22
4.1.1 A simple flow chart for the borrowing process:
Figure below is a flow chart representing a systematic flow of how system users interact with
the system.
Start
Workers/Administrator
Account SAVE
Account
CLOSE
Customer
DELETE
Customer
Account MODIFY
Stocks
Products
Suppliers
Products
Items
Stop
Figure 4. 1 A simple flow chart for the borrowing process
23
4.2 Architecture Design.
Architectural design involves decomposing the system into various subsystems. It shows how
database system and the graphical user interface communicate with each other.
24
4.2.1 Level 0 Context Diagram
Figure below shows the level 0 context diagram which is the starting model for the structure
analysis of the system. It shows the scope of the study.
25
Table name Logical Design of the table in the Database
Tbl_ address CREATE TABLE IF NOT EXISTS `address` (`zipcode` int NOT
NULL, `state` varchar(255) NOT NULL,`district` varchar(255) NOT
NULL, `city` varchar(255) NOT NULL, PRIMARY KEY (`zipcode`),
UNIQUE KEY `zipcode` (`zipcode`)) ENGINE=InnoDB DEFAULT
CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
26
Tbl_user CREATE TABLE IF NOT EXISTS `users` ( `user_id` int NOT NULL
AUTO_INCREMENT, `username` varchar(50) NOT NULL,
`password` varchar(50) NOT NULL, `name` varchar(50) NOT NULL,
PRIMARY KEY (`user_id`)) ENGINE=InnoDB
AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
Tbl_ payment CREATE TABLE IF NOT EXISTS `payment` ( `payment_id` int NOT
NULL AUTO_INCREMENT, `customer_id` int NOT NULL, `pdate`
datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`amount` int NOT NULL, `mode` varchar(255) NOT NULL, `bill_no`
int NOT NULL, PRIMARY KEY (`payment_id`), KEY `fk_pbno`
(`bill_no`), KEY `fk_pcid` (`customer_id`)) ENGINE=InnoDB
AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4
COLLATE=utf8mb4_0900_ai_ci;
27
Table User.
Table Product
4.4 Relationship
28
4.4.2 Entity relationship diagram
The illustrations below show the description of the various relationships between the entities
using ERDs.
29
4.5.2 Functions provided to the Admin.
i Manage and update the supermarket's database
ii Manage and update the supermarket's website and social media accounts
iii Monitor and analyze sales data
iv Manage and schedule employee shifts
v Generate financial reports and analyze financial data
vi Manage the supermarket's budget and expenses
30
ii. PHP: The Hypertext Processor (PHP) is a scripting language that allows processing at
the server side. PHP helped me to get information from the interface to the database
and also retrieve data
v. Bootstrap: I used Bootstrap for making our system responsive and I also used bootstrap
to manipulate CSS and HTML hence forming the beautiful pages that are viewed by
the users. allowing users to access the website from devices ranging from smartphones
to computers.
4.6 Results
Below is the landing page that serves as a login page, typically the first page that a user sees
when they visit a website or application. The main purpose of this page is to verify the user's
identity and grant them access to the site's content or services.
The login page typically includes a form where the user can enter their login credentials, such
as a username and password. There may also be options for resetting a forgotten password or
creating a new account if the user is a first-time visitor.
31
Figure 4. 6 landing page
2. Item page:
This page is where you can view and manage all the items available for sale in the supermarket.
Each item will have a unique identifier, a name, a description, a price, and possibly other
attributes such as the category it belongs to, the vendor that supplies it, and the quantity in
stock. From this page, you can add, edit, or delete items as needed.
32
3. Vendor page:
This page is where you can view and manage all the vendors that supply goods to the
supermarket. Each vendor will have a unique identifier, a name, a description, and possibly
other attributes such as their contact information and the products they supply. From this page,
you can add, edit, or delete vendors as needed.
4. Sale page:
This page is where you can record all the sales transactions that take place in the supermarket.
For each sale, you will record the customer who made the purchase, the items that were
purchased, the quantity of each item, the price, and any applicable discounts or taxes. From
this page, you can also view reports on sales trends and other metrics.
33
Figure 4. 9 Sale page:
5. Customer page:
This page is where you can view and manage all the customers who shop at the supermarket.
Each customer will have a unique identifier, a name, a description, and possibly other attributes
such as their contact information and purchase history. From this page, you can add, edit, or
delete customers as needed.
34
6. Search page:
This page is where you can search for specific items, vendors, customers, or sales transactions
based on various criteria such as name, ID, price, or date. You can also filter your search results
by category, vendor, customer, or other attributes.
7. Reports page:
This page is where you can generate various reports on sales trends, inventory levels, vendor
performance, customer behavior, and other metrics. These reports can help you make informed
decisions about stocking, pricing, marketing, and other aspects of running the supermarket.
You can also customize the reports to include specific data points and time periods.
35
Figure 4. 12 Reports page
This was done by examine each unit, each script was checked to ensure that it functions as
required and that it performed exactly as intended.
36
4.7.1.3 Integration Testing
The success of each individual unit gave me the go ahead to carryout integration testing.
Different system modules were put together to make a complete system.
In-case the user tries to log into the system using a wrong user credentials, the system shows
an error message telling the user that you have input a wrong username or password and should
try again or create a new account as shown in the figures bellow.
On submitting an empty form, the system will inform the user that this is a required field.
Figure 4. 13 On submitting an empty form, the system will inform the user that this is a required field.
on submitting a wrong information on login form, the system will inform the user that the data
input is wrong.
37
Figure 4. 14 on submitting a wrong information on login form
38
CHAPTER FIVE
5.2 Discussion
In this section, we will discuss the key findings and results of the project.
Firstly, the electronic supermarket management system has provided Dejavour Supermarket
with numerous benefits. The system has made it easier to manage the inventory, track sales,
and provide customer data. The system has also improved the efficiency of the checkout
process, resulting in shorter wait times for customers. Additionally, the system has made it
easier to manage employee schedules and workloads.
Secondly, the system has several features that contribute to its success. For example, the system
provides real-time data on inventory levels and sales, making it easier for the supermarket to
restock items when they are running low. The system also allows employees to quickly and
easily search for products and check prices, which saves time and reduces errors. Furthermore,
the system enables the supermarket to manage customer data and provide personalized offers
and promotions.
Thirdly, the project has highlighted some challenges associated with implementing an
electronic supermarket management system. For example, the initial investment required to set
up the system can be high, and it may take some time for the supermarket to see a return on
their investment. Additionally, the system requires regular maintenance and updates, which
can be time-consuming and costly. Finally, there may be resistance to change from employees
who are accustomed to traditional manual systems.
39
5.3 Conclusion
In conclusion, the electronic supermarket management system has been a successful project
for Dejavour Supermarket. The system has improved the efficiency of supermarket operations,
resulting in cost savings and a better shopping experience for customers. The system also
enables the supermarket to better manage their inventory, sales, and customer data. However,
the implementation of the system has presented some challenges, which should be considered
before undertaking a similar project.
5.3 Recommendations
Based on the findings and conclusions of the project, we have the following recommendations
for Dejavour Supermarket and other organizations considering implementing an electronic
supermarket management system:
Communicate the benefits of the system to employees and provide training and support to
encourage their adoption of the new system.
Regularly review the system and update it as needed to ensure that it remains efficient and
effective.
Ensure that the system is secure and that customer data is protected.
Consider integrating the system with other business systems to provide a comprehensive view
of supermarket operations.
Overall, an electronic supermarket management system has the potential to provide numerous
benefits for supermarkets, but it is important to carefully consider the costs and challenges
associated with its implementation.
40
REFERENCES
Bardin, A. J. (2000). A mechanism for coupling exit from mitosis to partitioning of the nucleus.
Cell, 102(1), 21-31.
Chandru, K. S. (2019). Web Based Store Management System with Customer Relationship
Automation. South Asian Journal of Engineering and Technology, 8(2), 105-111.
Fillis, I. &. (2005). E-business development: An exploratory investigation of the small firm.
International small business journal, 23(6), 604-634.
Kojima, M. (2016). "Fossil fuel subsidy and pricing policies: recent developing country
experience." World Bank Policy Research Working Paper 7531.
Marr, B. (2019). Artificial intelligence in practice: how 50 successful companies used AI and
machine learning to solve problems. John Wiley & Sons.
Meckel, M. W. (2004). A taxonomy of e‐business adoption and strategies in small and medium
sized enterprises. Strategic Change, 13(5), 259-269.
Murray, A. (2013). Information technology law: the law and society. Oxford University Press.
Mutz, D. C. (2005). Social trust and e-commerce: Experimental evidence for the effects of
social trust on individuals’ economic behavior. Public Opinion Quarterly, 69(3), 393-
416.
41
Rubini, A. (2018). Fintech in a flash: financial technology made easy. Walter de Gruyter
GmbH & Co KG.
Williams, K. C. (2000). Reproduced and emergent genres of communication on the World Wide
Web. The information society, 16(3), 201-215.
42