Testt Report New.docx
Testt Report New.docx
A PROJECT REPORT
Submitted by
i
BONAFIDE CERTIFICATE
ii
ACKNOWLEDGMENT
We sincerely thank our respected Chairman, Rev. Fr. Dr. KURIAN THOMAS and
General Secretary, Mr. JOSE THOMAS, for all their managerial efforts and
administration in educating us in his prestigious institution.
We would like to express our gratitude to our Principal Dr. K. SAMIDURAI, BE.,
M.Tech., Ph.D., MISE., FIE., C., Eng.(l), and our Vice Principal Mr. J.GOBINATH
B.E., M.E., (Ph. D) for providing valuable guidance.
We express our sincere thanks to our project coordinator and internal guide Mrs.
V.BALAMMAL M.E., Assistant Professor, Department of Computer Science and
Engineering, for providing support and encouragement that was an instrument of
success for our project completion.
We also extend our thanks to all Staff Members of CSE Department of RGCE and our
Colleagues for helping me throughout the project work and all those who have given
us a moral support in the completion of the project.
Last but not least, we would like to use this opportunity to thank our lovable
parents who provided not only the financial supports but also moral support and
without whom this project would have not been possible at all.
iii
TABLE OF CONTENT
Acknowledgement ............................................................................................... II
Abstract ………………………………………………………………………VIII
CHAPTER THREE............................................................................................. 18
4 REQUIREMENTS ................................................................................... 24
CHAPTER FIVE................................................................................................. 43
CONCLUSION ................................................................................................... 43
RECOMMENDATION ...................................................................................... 43
REFERENCES.................................................................................................... 49
TERMINOLOGY MEANING
The report outlines the key features and functionalities of the e-commerce platform,
including user registration and authentication, product catalog, search and filtering
options, shopping cart and checkout process, payment gateway integration, order
management, seller profiles, reviews and ratings, and an admin dashboard for
efficient platform management.
The development process involves the utilization of various technologies and tools
such as Django, Python, HTML/CSS, JavaScript, and database management
systems like PostgreSQL or MySQL. The report will delve into the architectural
design of the platform, including the database schema, models, views, and
templates, highlighting the implementation details and key considerations.
1
1.1. BACKGROUND OF THE STUDY
The construction industry plays a crucial role in economic growth,
infrastructure development, and job creation. As the industry undergoes digital
transformation, there is a growing need for technology-driven solutions to enhance
efficiency and collaboration. E-commerce platforms have emerged as powerful
tools in various industries, revolutionizing traditional business practices. However,
the construction sector still faces challenges in the procurement process, such as
limited supplier options, time-consuming procedures, lack of transparency, and
difficulty in comparing prices and specifications. To address these challenges,
there is a pressing need for an e-commerce website tailored specifically for the
construction industry. Such a platform would provide a centralized hub for
suppliers and buyers to connect, streamline procurement procedures, enhance
transparency, and facilitate easy comparison of products and prices. In this context,
Django, a robust and scalable web framework, offers an ideal solution for
developing an e-commerce website for construction. Its security features,
flexibility, and suitability for building complex web applications make it a suitable
choice for constructing a reliable and efficient platform that caters to the unique
requirements of the construction industry
In a bustling city with a booming construction industry, small construction
businesses struggle to compete with larger companies. Resources and opportunities
seem limited, making it difficult for these businesses to showcase their services
and reach a broader customer base. Sensing the need for a solution, a group of
passionate entrepreneurs and construction professionals comes together to form a
groundbreaking e-commerce platform specifically tailored for the construction
industry.
Their vision is to create a virtual marketplace where construction businesses can
showcase their expertise, connect with customers, and streamline the procurement
process.
1.2 STATEMENT OF THE PROBLEM
Traditionally, customers are used to buying the products at the real, in other
words, factual shops or supermarkets. It needs the customers to show up in the
shops in person, and walk around different shopping shelves, and it also needs the
owners of shops to stock, exhibit, and transfer the products required by customers.
It takes labour, time and space to process these operations.
Furthermore, the spread of the Covid-19 pandemic has caused a lot of
changes in our lifestyle, people fearing to get outside their homes, transportation
almost shut down and social distancing becoming all the more important. Big to
small scale business that relied on the traditional incur a lot of consequence due to
the lockdown issues. Some tend to more towards using social media platforms like
Facebook to sell their product. The problem at hand is the limited online presence
of small construction businesses, inefficient procurement processes, and the lack of
transparency and trust within the industry. These issues impede the growth and
competitiveness of small construction businesses, making it difficult for them to
reach potential customers, streamline procurement, and establish credibility. A
solution is needed to develop an e-commerce website using Django that empowers
these businesses by providing a platform to showcase their services, connect with
customers, streamline procurement, and foster transparency and trust in the
construction
1.1 THE SOLUTION
The aim of this project is to develop an e-commerce website using Django for the
construction industry, with the goal of empowering small businesses, improving
procurement processes, and fostering transparency and trust within the industry.
Customer Side
Administrator Side
2 Additionally, if customer places order and admin deleted that user (fraud
detection), then their orders will automatically be deleted. Suppose one (1)
customer places four (4) products order and admin deleted two (2) product
from website, then that two-product order will also be deleted and other two
will be there. Also, if user click on purchase button without having products
in their cart, then website will ask to add product in cart first.
The research method used for this project work is quantitative research reviews the
current system, provide its description, identifying the discrepancies and eventually
giving a suitable solution. Therefore, the method used in the design and collections
of information from various sources are as follows:
Studying the present system in detail and the organizational style.
Knowing and understanding the input and output processes of the existing system.
A qualitative form of interview was conducted in the organization to understand the
mode of operation of the old system.
4.2 SIGNIFICANCE OF THE STUDY
The construction industry plays a crucial role in the global economy, and the
rise of e-commerce has transformed the way businesses operate and consumers
make purchases. Therefore, the significance of studying and developing an e-
commerce website for the construction industry using Django can be outlined as
follows:
It helps to simplify business processes and make them faster and more
efficient.
The chapter layout of this project is outlined in a sequential manner starting with
Chapter one which consists of the Introduction, Background of the study,
Statement of the problem, Aims and objectives, Justification and Significance of
study, Research methodology, and Scope, Limitation.
Following this chapter, the rest of the paper proceeds as follows. Chapter two
consist of introduction, Literature review of the project, an overview of ecommerce
applications. Chapter three deals with the Methodology. It comprises of analysis of
the existing system under which description of the current system will be analysed,
problems of existing system, description of the proposed system and the
advantages of the proposed system.
CHAPTER 2
LITERATURE REVIEW
2.0 INTRODUCTION
Literature review is an expressive study based on the detailed review
of earlier pertinent studies related to the various concepts of online shopping
to discover the concept of online shopping. It highlights the status of online
shopping, importance and problems of online shopping, factors affecting
online shopping and a critical review of the privacy and security issues in
online shopping.
Ling, said that customers can take enjoy online shopping for 24 hour per day.
Consumers can purchase any goods and services anytime at everywhere. Online
shopping is user friendly compare to in store shopping because consumers can just
complete his requirements just with a click of mouse without leaving their home.
Online shopping has some advantages like below
They can compare the price with the others retailers very easily.
Online shopping problems are great barrier to the online purchase aim of
customers. General problems include prospect of having credit card. The
obscurity to confirm the reliability of the provide goods and the risk to buy
a product that it would not value as much as customer pay for it. Aftersales
problems, involved difficulty to change not working product with a new
one and products warranty are not assured. Online shopping has various
disadvantages:
The customers can not touch and fell of the products when they want to
Purchase.
Some time they will pay the shipping charges so why the cost of the
product may increase.
Lack of personal attention by the sellers. More chance to fraud.
Lack of quality
There are some factors which affect the online shopping by the Kotler who
is a great marketing writer
Convenience (no traffic, crowds,24 hr. access
Product Selection
3. Delivery Mode
Now, after knowing that privacy and security issues are vital for consumers in
online shopping, I would like to know the emphasis in the real world. From an
article titled “The Myth of Secure E-Shopping” published in PC World, the reality of
such issue is revealed. While most
consumers trust big and well-established online merchant such as CD Universe,
Travelocity, Columbia House and Ikea, these big companies still receive frequent
security threats (Kandra, 2001). Joseph McDonnell, a CEO of online security firm
IShopSecure even confessed that all online firms must have received threats of some
sorts (Kandra, 2001). He added by saying that hackers could easily infiltrate and get
customers personal information online as online shoppers are not anonymous.
According to Kandra, experts also discover that security measures taken by online
retailers are insufficient. For instance, data encryption only applies in actual transfer
of customer data but not in the database which is ironically the most common
targets for hackers. Some other sites however, do not even have privacy and security
policy posted implying that they do not protect their customers (Hairell, 2011).
Kandra posits that this is what happened to eBay when it was hacked hence
compromising its customers’ credit information. Apart from the retailers
themselves, credit card processing firms and third-party sites also receive threats.
Creditcards.com once had disclosed that someone had infiltrated its site and posted
more than 55000 credit card numbers on the Internet. So, from all these indications,
I can see that online shopping is not totally safe.However, customer rights and
security aspects are not just the responsibility of online merchants. To uphold them,
the consumers themselves need to act. According to “Ten Things Your Mother
Never Told You About Online Shopping” published in Yahoo! Internet Life, to be
an ace consumer, online shoppers need to prepare themselves with some basics
(Halpin, 2011). As the prominent method of payment is credit card, consumers
should be more aware in handling it. They should never disclose their credit
information via e-mail. Some of the credit card issuers also have some sorts of
protection that consumers should apply for. Apart from that, consumers should limit
themselves from releasing unnecessary personal information such as age and
income to protect their privacy (Hood & Halpin, 2011). Also, as Todd Richter who
is the president of Girl shop (an e- commerce site) had said, consumers should
always be aware of the security technology used by merchant sites. Technologies
such as Secure Socket Layer (SSL) and VeriSign play vital part in distinguishing
one site from another. Nonetheless, consumers should always be alert of the privacy
and customer policy in each site they tend to buy from (Halpin, 2011). Lastly, if
there are still dissatisfactions, consumers could always report them to consumer-
related agencies such as Better Business Bureau or Federal Trade Commission
(Halpin, 2011).
Thus, after reviewing these three reliable sources related to the privacy and
security issues of online shopping, I can see some interconnections between them.
By common sense, anyone who tends to shop online will think twice before they buy
anything as to consider the privacy and security issues related to it. This is proven in
my first source (“Consumer Perceptions of Privacy and Security Risks for Online
Shopping”) through the survey. People are always conscious about their privacy and
security. However, this is not the case in the real world. As my second source (“The
Myth of Secure
E-Shopping”) has proposed, even though online merchants have tried their best to
beef up the security, threats and attacks still prevail. For this reason, consumer
should act fast to protect their privacy when shopping online. My third source (“10
Things Your Mother Never Told You About Online Shopping”) explains many
ways that consumers could do to enhance the privacy and security aspect apart from
what online merchants have done for the same reason. Taking all these contents as a
whole, I would say that in any situation, people can still shop online safely provided
they understand the reality and take some precautions above all.
CHAPTER 3
METHODOLOGY
3.1.1. INTRODUCTION
The construction industry is a vital sector that contributes significantly to economic
growth and development. In recent years, the advent of e-commerce has
revolutionized the way businesses operate and customers make purchases. An e-
commerce website specifically tailored for the construction industry can provide a
convenient and efficient platform for customers to browse, purchase, and access a
wide range of construction-related products and services.
By utilizing Django, a robust and versatile web framework based on Python,
developers can create a feature-rich and scalable e-commerce website for the
construction industry. Django offers a comprehensive set of tools and
functionalities that simplify the development process and enable the creation of
secure and dynamic web applications.
The significance of studying and developing an e-commerce website for the
construction industry using Django lies in its ability to address the unique needs
and challenges of this sector. Such a website can serve as a centralized
marketplace, allowing construction professionals, contractors, architects, and
individuals to easily explore and acquire construction materials, equipment, tools,
and services.
3. 1. 2 Justification for the Methodology
This model can be used when the requirements of the complete system
are clearly defined and understood, like the case of this project where;
There was a need to complete the project within a short time schedule.
A new technology is being used or the resources with needed skill set are
not available. I was learning Flask and Django and could iterate from one
technology to another to ensure I effective implement all the functionalities.
22
Generates working software quickly and early during the software life cycle.
This model is more flexible and less costly to change scope and requirements.
23
Easier to manage risk because risky pieces are identified and handled during
it’d iteration.
3.2 SYSTEM ANALYSIS
Analysis is an important part of any project; is analysis is not done
properly then whole project move in the wrong direction. It also provides a
schedule for proper project work. Analysis
task divided into 3 areas:
Problem Recognition.
Feasibility Study.
Requirement Analysis.
Parameters considered:
People with a basic knowledge of computers would be able to use our system very
effectively and easily, as the system would have an intuitive GUI. The director and
employees of La BELLE Fashions have a basic operating knowledge of computers, so
understanding the working of the system and using it would be easy from the decision
maker’s point of view.
All the relevant necessary resources for implementing and operating this
system are already present in office.
Bearing in mind the above factor, it was observed that the cost would be
incurred in developing this project from an operational standpoint would be low.
Thus, it would be operational feasible for the company.
Implementation Feasibility
Implementation Feasibility is about basic infrastructure required to
develop the system. Considering all below points, it is feasible to develop
system.
Factors considered:
All the minimum infrastructure facility required like PC,
books, technical manuals are provided.
Proper guidance is provided.
All necessary data and files are provided.
2. Economic Feasibility
Economic Feasibility is about total cost incurred for the system. The software
resource requirement of the proposed system is Django and SQLite for functional
and backend development and HTML, CSS, JS for the frontend UI.
3.3 Requirements Analysis and Specification
A complete understanding of software requirement is essential to the
success of a web- development effort. No matter how well designed or well
coded, a poorly analysed and specific program will disappoint user and bring
grief to the developers.
The requirement analysis task is process of discovery, refinement,
modified and specification. The software scope, initially established by the
system engineer and refined during project planning, is refined in detail. Models
of the required data, information and control flow, and operational behaviour
are created. Alternative solutions are analyzed and various project element.
Currently who want to buy some shoes or any clothing type they have to
go to the shop and buy them this is very tedious for customer therefore we
upload this site on internet. This web-site should be developed with an aim to
simplify shopping process and keeping transparency and flexibility in
performing each operation.
3.3.3.8 Customer can Download their order invoice for each order
3.3.3.9 Customer can send feedback to admin (without login)
Admin Module
3.3.3.10 Admin can provide username, email, password and your admin account
will be created.
3.3.3.11 After login, there is a dashboard where admin can see how many
customers is registered, how many products are there for sale, how many
orders placed.
3.3.3.12 Admin can add/delete/view/edit the products.
3.3.3.13 Admin can view/edit/delete customer details.
3.3.3.14 Admin can view/delete orders.
3.3.3.15 Admin can change status of order (order is pending,
confirmed, out for delivery, delivered)
3.3.3.16 Admin can view the feedbacks sent by customers
Non-functional Requirements
It specifies the quality attribute of a software system. They judge the
software system based on Responsiveness, Usability, Security, Portability and
other non-functional standards that are critical to the success of the software
system.
• Availability: The system should remain operational in any day and any place.
• Accuracy: There is a need to optimize the system to ensure more
accurate results and calculations.
• Usability: The system should provide a User-friendly user interface and
tooltips to enhance itself and be effectively responsive.
• Secure: The system must be able to provide security against any external
injections by using a layered security system. Implementation of user login
functionalities also ensures the system is secure from unauthorized persons.
• Performance of the system: Response time is very good for given piece of
work. The system will support multi user environment.
• Reliability of the system: The system will be highly reliable and it
generates all the updates information in correct order. Data validation and
verification is done at every stage of activity. System recovery will also be
speed.
3.3.4 Input Specifications
RECOMMENDATION
There is a scope for further development in our project to a great extent. A
number of features can be added to this system in future like providing. The
feature like adding an authenticated payment system using Mpesa which is widely
used in Kenya. Another feature we wished to implement was providing classes
for customers so that different offers can be given to each class.
Product This module contains the details of all products in the store.
Search Customers are able to search for specific product through this
procedure
Layout Customers view products from the homepage. They can
Mouse over to display product description.
Reporting The customers are able to view and download their invoices.
The system also provides room form customer feedback
Templates Folder contains all the HTML files for the project
REFERENCES
[1] Fernandez, A.& Anthony D. Miyazaki. Consumer Perceptions of Privacy and
Security Risks for Online Shopping. The Journal of Consumer Affairs 35.1: 27-44.
[2] Kandra, A. (2001). The Myth of Secure E-shopping. PC World July: 29-32.
[3] Halpin, M. (2011). 10 Things Your Mother Never Told You About Online
Shopping. Yahoo! Internet Life: 61-63.
[4] Wu, J., & Guo, X. (2011). Online booking system design and experimental
realization. 2011 International Conference on Electrical and Control Engineering.
doi:10.1109/iceceng.2011.6057629
[5] Kumar, V., & Singh, R. (2014). Women Online Shopping: A Critical Review of
Literature. SSRN Electronic Journal. doi:10.2139/ssrn.2466824
Appendix
Manage.py
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault("DJANGO_SETTINGS_MODULE",
"ecommerce.settings")
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did
you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)
if __name__ == "__main__":
main()
asgi.py
"""
ASGI config for ecommerce project.
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE",
"ecommerce.settings")
application = get_asgi_application()
settings.py
"""
Django settings for ecommerce project.
ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
'store.apps.StoreConfig',
]
MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
]
ROOT_URLCONF = "ecommerce.urls"
TEMPLATES = [
{
"BACKEND":
"django.template.backends.django.DjangoTemplates",
"DIRS": [],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [
"django.template.context_processors.debug",
"django.template.context_processors.request",
"django.contrib.auth.context_processors.auth",
"django.contrib.messages.context_processors.messages",
],
},
},
]
WSGI_APPLICATION = "ecommerce.wsgi.application"
# Database
# https://docs.djangoproject.com/en/4.1/ref/settings/#databases
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": BASE_DIR / "db.sqlite3",
}
}
# Password validation
# https://docs.djangoproject.com/en/4.1/ref/settings/#auth-password-
validators
AUTH_PASSWORD_VALIDATORS = [
{
"NAME":
"django.contrib.auth.password_validation.UserAttributeSimilarityV
alidator",
},
{
"NAME":
"django.contrib.auth.password_validation.MinimumLengthValidato
r",
},
{
"NAME":
"django.contrib.auth.password_validation.CommonPasswordValidat
or",
},
{
"NAME":
"django.contrib.auth.password_validation.NumericPasswordValidat
or",
},
]
# Internationalization
# https://docs.djangoproject.com/en/4.1/topics/i18n/
LANGUAGE_CODE = "en-us"
TIME_ZONE = "UTC"
USE_I18N = True
USE_TZ = True
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]
MEDIA_URL = '/images/'
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"