You are on page 1of 72

MINI PROJECT REPORT

on
Herb House- The Best Healing Herbs Under One
Roof.
Submitted By
Mr. Yash Kashti Mr. Sahil Mahato
Mr. Aman Ilatkar Mr. Yash Chikte

Submitted in partial fulfillment of the requirements


of
Mini Project in third year of Bachelor of Engineering

Guided by-
Mr. SAMIR MENDHE

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

S.B. JAIN INSTITUTE OF TECHNOLOGY,


MANAGEMENT & RESEARCH, NAGPUR.

2021-2022

© S.B,J.I.T.M.R Nagpur 2022


Institute Vision:
Emerge as a leading Institute for developing competent and creative Professionals.

Institute Mission:
 Providing Quality Infrastructure and experienced faculty for academic excellence.
 Inculcating skills, knowledge and opportunities for competency and creativity.
 Aligning with Industries for knowledge sharing, research and development.

Department Vision:
To become a center for quality education in the field of computer science &
engineering and to create competent professionals.

Department Mission:
 To provide academic ambience and latest software tools to prepare competent
Software Engineers with strong theoretical and practical knowledge.
 To foster professionalism and strong work ethics in students for the betterment of
Society
 To provide adequate infrastructure as well as experienced & skilled faculty
members.
 To encourage the spirit of entrepreneurship and adaptability in our students in view
of the ever-changing scenario of the Software Industry.
Program Educational Objectives (PEO’s)
 Have analytical, design and implementation skills, to innovate, design and develop
software products and systems.
 Have strong work ethics and professionalism, reflected through communication
skills, leadership, teamwork and sense of responsibility towards the society.
 Be successful professionals through lifelong learning with allied objectives of
higher education or research.
S.B. JAIN INSTITUTE OF TECHNOLOGY MANAGEMENT
AND RESEARCH, NAGPUR
(An Autonomous Institute, Affiliated to RTMNU, Nagpur)

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING


SESSION 2021-2022

CERTIFICATE

This is to certify that the Mini project titled “Herb House- The Best Healing
Herbs Under One Roof” is a bonafide work of Mr. Yash Kashti, Mr. Sahil Mahato,
Mr. Aman Ilatkar and Mr. Yash Chikte carried out for the partial fulfillment of the
requirement of Mini Project in third year of Bachelor of Engineering in Computer
Science & Engineering, Rashtrasant Tukadoji Maharaj Nagpur University, Nagpur.

Mr. Samir Mendhe Mr. Animesh Tayal


Assistant Professor Head of Department
(Project Guide)

Dr. S. L. Badjate External Examiner


Principal
Mr/Mrs/Ms/Dr.
Designation:
Institution:
Date:

i
DE CLA R ATI O N

We, hereby declare that the Mini Project titled “Herb House- The Best Healing
Herbs Under One Roof” submitted herein has been carried out by us in the
Department of Computer Science & Engineering of S. B. Jain Institute of Technology
Management and Research, Nagpur under the guidance of Mr. Samir Mendhe. The
work is original and has not been submitted earlier as a whole or in part for the award of
any degree / diploma at this or any other Institution / University.
.

YASH KASHTI

SAHIL MAHATO

AMAN ILATKAR

YASH CHIKTE

Date: - / /

ii
ACKNOWLEDGEMENT

We would like to express deep sense of gratitude to our Project Guide, Mr.
Samir Mendhe, Department of Computer Science & Engineering, for being the
cornerstone of our project. It was her incessant motivation and guidance during periods
of doubts and uncertainties that has helped us to carry on with this project.

We would like to thank Mr. Animesh Tayal, Head of Department, Computer


Science & Engineering for providing necessary guidance, support, motivation and
inspiration without which this project would not have been possible.

We would like to extend our special thanks to Dr. S. L. Badjate, Principal of


S.B. Jain Institute of Technology, Management & Research for his encouragement
and best wishes.

We would like to extend our sincere thanks to the Management of S.B. Jain
Institute of Technology, Management & Research for providing all the necessary
infrastructure and laboratory facilities.

We also like to acknowledge the help extended by the faculty members and
non-teaching staff of Computer Science & Engineering Department for successful
completion of our project.

Last but not the least, special thanks to our family members, friends and
colleagues for their continuous support.

iii
ABSTRACT

In the current scenario changing lifestyle, increasing awareness among


consumers, concerns about the side effects of modern allopathy and rising preference
among for medicinal herbs/ ayurvedic medicines is seen in recent years. Ayurvedic
market to flourish in recent years. Global market size of Ayurvedic products was
estimated to be around USD 5170 million in 2019. The market is expected to grow at a
CAGR of around 12.2% to reach around USD 9210 million by 2024.

In this project report a new approach is to find out all kinds of herbs to cure
many types of diseases. The approach is based on how people preferred Ayurveda over
allopathy after the covid-19 pandemic. The key idea underlying the approach is to make
consumer aware about the side effects of allopathy and to make them know the benefits
of ayurvedic medicines. As everyone knows that allopathy only focus on symptoms
and disease but Ayurveda has focus on body mind and spirit. 90% of the ayurvedic
medicines are made from herbs. So, in this project we made an e-commerce website
selling herbs and listed various nurseries selling herbs. We also tried to make the
customer aware of the usage herbs in medicine.

Keywords- Ayurveda, herbs, Pandemic, e-commerce, web-app, project

iv
INDEX
PAGE NO.
CERTIFICATE………………………………………………………………………………………. i

DECLARATION………………………………………………………………………………………ii

ACKNOWLEDGEMENT……………………………………………………………………………iii

ABSTRACT………………………………………………………………………………………….. iv
INDEX…………………………………………………………………………………………………v-vi

LIST OF FIGURES……………………………………………………………………………………vii

LIST OF ABBREVIATIONS………………………………………………………………………...viii
LIST OF SYMBOLS…………………………………………………………………………………..IX

CHAPTER 1 INTRODUCTION
1.1 PROJECT BACKGROUND 1
1.2 PROBLEM STATEMENT 2
1.3 PURPOSE OF STUDY 2
1.4 TECHNOLOGICAL BASE 3
CHAPTER 2 LITERATURE SURVEY
2.1 RELATED WORK 5

CHAPTER 3 METHODOLOGY/PROPOSED SOLUTION

3.1 PROPOSED WORK 8

3.2 SYSTEM ARCHITECTURE 9

3.3 SYSTEM FLOWCHART 10

CHAPTER 4 TOOLS/ PLATFORM

4.1 SOFTWARE REQUIREMENT 11

CHAPTER 5 DESIGN& IMPLEMENTATION

5.1 SYSTEM DESIGN 16

5.1.1 USE CASE DIAGRAM 16

5.1.2 CLASS DIAGRAM 17

5.1.3 SEQUENCE DIAGRAM 18

5.2 IMPLEMENTED MODULES 19

5.3 SAMPLE CODE 20

v
CHAPTER 6 TESTING, RESULTS & DISCUSSION
6.1 TESTING
6.1.1 TYPES OF TESTING 24
6.1.2 LEVELS OF TESTING 26
6.1.3 TESTING REPORT 27
6.2 RESULTS & DISCUSSION 31

CHAPTER 7 ADVANTAGES & APPLICATIONS


7.1 ADVANTAGES 37
7.2 APPLICATIONS 38

CHAPTER 8 CONCLUSION AND FURTHER SCOPE


8.1 CONCLUSION 39
8.2 FURTHER SCOPE 40

REFERENCES 41

APPENDIX I PLAGARISM REPORT


APPENDIX II INSTRUCTION MANUAL

vi
LIST OF FIGURES

FIG NO. TITLE OF FIGURE PAGE NO.

3.2 SYSTEM ARCHITECTURE 9

3.3 FLOW CHART 10


5.1.1 USE CASE DIAGRAM 16
5.1.2 CLASS DIAGRAM 17
5.1.3 SEQUENCE DIAGRAM 18
6.2.1 HOME PAGE 31
6.2.2 ABOUT US 31
6.2.3 PRODUCT LIST 32
6.2.4 CONTACT US 32
6.2.5 CUSTOMER SIGNUP 33
6.2.6 CUSTOMER LOGIN 33
6.2.7 USER DETAILS 34
6.2.8 NURSERY LIST 34
6.2.9 ITEM LIST 35
6.2.10 MY ORDERS 35
6.2.11 PAYMENT 36
6.2.12 MANAGE/ADD PRODUCTS 36

vii
LIST OF ABBREVIATIONS

ABBREVIATION DESCRIPTION
UPI Unified Payment Interface
COD Cash On Delivery
URL Uniform Resource Locator
PIP Performance Improvement Plan
GUI Graphical User interface

viii
LIST OF SYMBOLS

SR.NO SYMBOL NAME OF SYMBOL

01 USER INTERFACE FRONTEND

02 WEB SERVER

03
FILE SYSTEM

04
DATABASE

05
USERS

06
CUSTOMER, SELLER

ix
CHAPTER NO. 1

INTRODUCTION
CHAPTER 1

INTRODUCTION

1.1 PROJECT BACKGROUND

Healing with medicinal plants is as old as mankind itself. The connection


between man and his search for herbs in nature dates from the far past from over 3000
years, of which there is ample evidence from various sources: written documents,
preserved monuments, and even original plant medicines. Awareness of medicinal
plants usage is a result of the many years of struggles against illnesses due to which
man learned to pursue drugs in barks, seeds, fruit bodies, and other parts of the plants.
Contemporary science has acknowledged their active action, and it has included in
modern pharmacotherapy a range of drugs of plant origin, known by ancient
civilizations and used throughout the millennia. The knowledge of the development of
ideas related to the usage of medicinal plants as well as the evolution of awareness has
increased the ability of pharmacists and physicians to respond to the challenges that
have emerged with the spreading of professional services in facilitation of man's life.
Ever since ancient times, in search for rescue for their disease, the people looked
for herbs in nature. The beginnings of the herbs’ use were instinctive, as is the case with
animals. In view of the fact that at the time there was not sufficient information either
concerning the reasons for the illnesses or concerning which plant and how it could be
utilized as a cure, everything was based on experience. In time, the reasons for the
usage of specific medicinal plants for treatment of certain diseases were being
discovered; thus, the medicinal plants’ usage gradually abandoned the empiric
framework and became founded on explicatory facts. Until the advent of iatrochemistry
in 16th century, plants had been the source of treatment and prophylaxis. Nonetheless,
the decreasing efficacy of synthetic drugs and the increasing contraindications of their
usage make the usage of natural drugs topical again.

1
Changing lifestyle increasing awareness among consumers, concerns about
sideffects of modern allopathy and rising preference of medicinal herbs is seen in recent
years specially after the outbreak of the covid-19 pandemic. As we all know that
allopathy is a slow poison, people these days prefer ayurvedic medicines. Ayurveda is
the science of life. It deals with the mind, body and spirit of human being. 90% of
ayurvedic medicines are made from herbs.

Herb House is a web-based approach that provides a single and effective platform to
sell herbs. Any nursery or shops can introduce their items on the web-app with their
description and usage. So, this will help our consumers to get herbs easily

1.2 PROBLEM STATEMENT

As we know many people these days prefer Ayurvedic medicines over


homeopathy and allopathy. After the surge of covid-19 pandemic many people moved
to home remedies which includes herbs or we can say ayurveda. Most of the people are
also unaware about the benefits of ayurvedic medicines and when it comes to get those
Herbs/medicine it’s difficult to find all types of herbs at a single place, so to overcome
this problem faced by the common man we are building a market place for Herbs where
any nursery or shops can introduce there Herbs on the web-app with their description
and usage. This will help the consumer to get it easily and get the treatment done.

1.3 PURPOSE OF STUDY

Ayurveda and ayurvedic medicines are an highly explored field from almost
3000 years. The benefits of Ayurveda are known to all and it has a huge significance in
the field of medicine. But when it comes to Ayurvedic medicines, there is confusion
regarding the description and differentiation between Ayurveda, Natural, Organic and
Herbal products. While they all are largely a part of the wellness industry, there are
differences in their meaning and coverage.

2
It is a difficult challenge for the buyers to distinguish between the herbs he
needs for the treatment. And the bigger problem arrives when it gets more difficult to
find those herbs. There is no such platform who sells herbs like this. Either you have to
visit shops or else need to find them from some retailer. But getting it on a single
platform where various nurseries or shops list theirs herbs was difficult. Also getting the
information about the herb used in the treatment of any disease.
Herb House will give the user the knowledge about Ayurveda as well as the
herbs used to make ayurvedic medicines. The buyers will get to know the usage as well
as description of the herb. He can also make medicine from the herb. The user can
search different nurseries and check their products and order according to their need.

Objectives
 To provide easy availability of all kind of herbs to the user.

 To cure many types of diseases.

 To specify the kind of herbs to cure specific diseases.

 To reduce the shortage of herbs in the market.

 To let the buyer know which herb is used to cure which type of disease.

1.4 TECHNOLOGICAL BASE

This Project can be implemented by using various technologies like-

Python
Python is a general-purpose interpreted, interactive, object-oriented, and high-
level programming language. It was created by Guido van Rossum from 1985- 1990.
Like Perl, Python source code is also available under the GNU General Public License
(GPL).Python is dynamically typed and garbage-collected. It supports multiple
programming paradigms, including procedural, object-oriented, and functional
programming. Python is often described as a batteries included" language due to its
comprehensive standard library

3
Features:
• Easy-to-learn − Python has few keywords, simple structure, and a clearly defined
syntax. This allows the student to pick up the language quickly.

• Easy-to-read − Python code is more clearly defined and visible to the eyes.

• Easy-to-maintain − Python's source code is fairly easy-to-maintain.

• Scalable − Python provides a better structure and support for large programs than shell
scripting.

Django
Django is a free and open source web application framework written in python.
It is used for rapid web development and clean, pragmatic design. It is built by
experienced developers to make repetitive tasks easier, so we can focus on writing apps
instead of reinventing the wheel.

Features:
 Super fast: Django development is extremely fast. Our ideas can take the shape
of a product very quickly.

 Fully loaded: Django has dozens of projects that can be integrated to carry out
common tasks such as user authentication, authorization, and content
administration.

 Versatile: Django can be used for almost any kind of project, from CMSs to e-
commerce apps to on-demand delivery platforms.
 Secure: Django also has support to prevent common security issues, including
cross-site request forgery, cross-site scripting, SQL injection, and clickjacking.

 Scalable: Django websites can scale fast to meet high traffic demands.

4
CHAPTER NO. 2

LITERATURE SURVEY
2.1 RELATED WORK

1. A Kumar et al. A search of the clinical research published between 1986 and
2006 on the effects and applications of herbal medicine in cancer pain
management was conducted using databases of CBM, CMCC, (available since
1989) in PubMed and EMBASE in English. We included only reports of original
publications on cancer-induced pain, resulting in a total of 115 articles. We
evaluated the methodological quality of the articles following the guidelines set
forth as "Levels of Evidence of Human Studies of Cancer in Complementary
and Alternative Medicine" by the National Cancer Institute.

2. Lari SM et al. Chemical warfare (CW) agents are toxic synthetic chemicals that
affect human's health, and sulfur mustard (SM) is a well-known chemical
weapon that caused deaths of victims. The lung is the main target of SM
exposure, and there are no definitive therapeutic modalities for lung injury
induced by this agent. The possible therapeutic effects of medicinal plants and
their active ingredients on lung injury induced by SM were reviewed in this
survey until the end of June 2021. Medicinal plants including Crocus sativus,
Curcuma longa, Thymus vulgaris, Nigella sativa, and Zataria multiflora and also
natural compounds showed therapeutic potential in improving of various
features of lung injury induced by SM and other related chemical agents. Several
studies showed therapeutic effects of some medicinal plants and natural products
on lung inflammation, oxidative stress, and immune responses in experimental
studies in SM-induced lung injury. In addition, clinical studies also showed the
effect of medicinal plants and natural compounds on respiratory symptoms,
pulmonary function tests (PFTs), and inflammatory markers. The therapeutic
effects of medicinal plants and natural products on lung disorder induced by SM
and related chemical agents were shown through amelioration of various
features of lung injury.

3. Trauma Tiahong et al. (2015) reported the effect of Panax notoginseng Radix
in survivours of the Great Sichuan earthquake with multiple rib fractures and
pulmonary contusions. In a retrospective study, the combination of Panax
notoginseng Radix and conventional treatment was compared with conventional
5
treatment alone. Visual analogue scales of pain were lower in the combination
group at one and two weeks. In the combination group, the duration of
mechanical ventilation, systemic analgesia administration, and hospital stay was
significantly lower than in the conventional treatment group.

Real Time Survey

1. Shri Shail Herbs Pvt. Ltd. Nagpur:

Shri Shail herbs in Pratapnagar, is a manufacturer of medicinal herbs in Nagpur. It


focuses specially on their own brand products. They sell seeds of herbs and hence they
have less number of herbs. They have oils made from herbs. Also less type of medicinal
herbs.

2. Pande Nursery, Nagpur:

Pande Nursery located at Jafar nagar, Nagpur is a top producer of herbs. They
mostly have show plants but they also grow a large variety of herbs used in the
treatment of various disease. They also grow herbs used for cooking.

3. Green Gold Nursery, Takli

Green Gold Nursery located in Takli, Nagpur is a fine manufacturer of herbs. The
only problem is that it is far from the city so it gets difficult to reach there. And also far
from the main road. They have a large variety of herbs but many times shortage of herbs
happens due to large demand.

Problems:

1. Customers want quality herbs because it is a matter of their health.

2. Customers visit more than one shop to find the type of herbs they want.

3. Sometimes customer wants herbs to be delivered home.

6
4. Sometimes the customers don’t know which kind of herb is used for the treatment of
any disease.

Solutions:

1. Customer will be easily able to find out all kind of herbs at a single place.

2. As the pandemic is going on, the customers will not have to visit anywhere, they can
order herbs form home.

3. Customer can remove or add herbs according to their need.

7
CHAPTER NO. 3

METHODOLOGY /
PROPOSED SOLUTION
CHAPTER 3

METHODOLOGY / PROPOSED SOLUTION

3.1 PROPOSED WORK

The intent of our project is that the user should get all types of herbs. The user
should afford and get treated with all types of herbs. The client must get all types of
herbs used for the treatment of many kinds of diseases. Our marketplace will be simple
where all the nurseries can sell herbs and the client can buy from anyone of them.
Our web application will be simple where the buyer can buy herbs with just
login and payment. Our site will be user friendly. The principle of our website is to
satisfy the buyer with all his needs. We aim to get every person to connect with the
science of Ayurveda with us.

Modules:

Module 1: User /Customer


Users are the people who have the access to see the nurseries and their products.
The user has the access to buy herbs and pay.
1.1 Home: User/Customer can view products ,details and price of products
1.2 Order Management: Users/customers can view and process orders and pay
1.3 Customer Managements: User/customer can Login/ log out, View Details

Module 2: Seller/admin
The seller/admin panel is a backend area used to make a new entry of nurseries
and herbs with some basic details. And, also can manage and access payment of the
user.
2.1 Manage Products: Seller/Admin can Add/update and delete products
2.2 Admin Dashboard: Seller/Admin can Add/delete update products
2.3 Admin Management: Seller/Admin can Login/ Log out, View details

8
3.2 SYSTEM ARCHITECTURE

Fig 3.2.1 System Architecture

The primary focus of the web application is to sell herbs according to the users
need. We achieved this by creating different modules for the project. The user just have
to Login/Signup their accounts to buy herbs. After buying the user can pay online by
card or by UPI.
The above architecture describes the complete view of the app and its usage in
the perfect manner. It also shows the working of all the actors.

9
3.3 FLOW CHART

Fig 3.3.1 Flow Chart

Here, we have showm the flow of our project. In this you can find the
Login/Signup of the Customer as well as the Seller. The customer/ seller have to give
valid credentials because they have to verify their account using email verification. If
already have an account the customer/seller can directly login otherwise they need to
signup first. After successful login the customer can view products and search products.
Then after selecting the customer can buy and add the product to its cart. After which he
needs to pay online by card or by UPI. After that he can logout. After successful login
of seller the seller can manage products by adding, deleting products. Seller can also
check feedback.

10
CHAPTER NO. 4

TOOLS/PLATFORM
CHAPTER 4

TOOLS/PLATFORM

4.1 SOFTWARE REQUIREMENT

1. Operating System: Windows 7 or Higher

2. Web Framework: Django

3. Server Side Technology: Python

4. Client Side Technology: Html, Css, Bootstrap, Javascript

5. Database: SQLITE

6. Designing Tool: Draw.io

7. Libraries Used: Razorpay, pillow, six

8. Testing Tool: MS Excel

1. OPERATING SYSTEM:
Any Operating System (preferably windows 7 or higher) which is having
architecture of 32-bit or higher is supported. We have used Windows 10 64-bit.

2. WEB FRAMEWORK:
Django is a free and open source web application framework written in python.
It is used for rapid web development and clean, pragmatic design. It is built by
experienced developers to make repetitive tasks easier, so we can focus on writing apps
instead of reinventing the wheel.

Features:
 Super fast: Django development is extremely fast. Our ideas can take the shape
of a product very quickly.

 Fully loaded: Django has dozens of projects that can be integrated to carry out
common tasks such as user authentication, authorization, and content
administration.
11
 Versatile: Django can be used for almost any kind of project, from CMSs to e-
commerce apps to on-demand delivery platforms.

 Secure: Django also has support to prevent common security issues, including
cross-site request forgery, cross-site scripting, SQL injection, and clickjacking.

 Scalable: Django websites can scale fast to meet high traffic demands.

3. SERVER SIDE TECHNOLOGY:

 Python
Python is a general-purpose interpreted, interactive, object-oriented, and high-level
programming language. Like Perl, Python source code is also available under the GNU
General Public License (GPL). Python is dynamically typed and garbage-collected. It
supports multiple programming paradigms, including procedural, object-oriented, and
functional programming. Python is often described as a battery included language due
to its comprehensive standard library.

Features:
• Easy to code
• Free and Open Source
• Object-Oriented Language
• High-Level Language
• Dynamically Typed Language
• Interpreted Language

4. CLIENT SIDE TECHNOLOGY:

 HTML
HTML stands for Hyper Text Markup Language. It is used to design web pages
using markup language. HTML is the combination of Hypertext and Markup language.
Hypertext defines the link between the web pages. Markup language is used to define
the text document within tag which defines the structure of web pages. This language is

12
used to annotate (make notes for the computer) text so that a machine can understand it
and manipulate text accordingly. Language uses tags to define what manipulation has to
be done on the text.

Features:
• It is easy to learn and easy to use.
• It is platform independent.
• Images, video and audio can be added to a web page.
• Hypertext can be added to text.

• CSS
Cascading Style Sheets (CSS) is a style sheet language used for describing the
presentation of a document written in a markup language like HTML. CSS is a
cornerstone technology of the World Wide Web, alongside HTML and JavaScript.

Features:
• You can control the colour of the text, the style of fonts and etc.
• Variations in display for different devices and screen sizes as well as a variety
of other effects.

• BOOTSTRAP
Bootstrap is a free and open-source front end development framework for the
creation of websites and web apps. The Bootstrap framework is built on HTML, CSS,
and JavaScript (JS) to facilitate the development of responsive, mobile-first sites and
apps. Responsive design makes it possible for a web page or app to detect the visitor’s
screen size and orientation and automatically adapt the display accordingly.
Features:
• Easy to Begin With
• LESS as Well as CSS Files
• Easily Customizable
• Responsive Utility Classes
• Some of the components come pre-styled in Bootstrap

13
•JAVASCRIPT
JavaScript is a dynamic computer programming language. It is lightweight and most
commonly used as a part of web pages, whose implementations allow client-side script
to interact with the user and make dynamic pages. It is an interpreted programming
language with object-oriented capabilities.

Features:
 JavaScript is a lightweight, interpreted programming language.
 Designed for creating network-centric applications.
 Complementary to and integrated with Java.
 Complementary to and integrated with HTML.
 Open and cross-platform

4. DATABASE:

 SQLITE
SQLite is a software library that provides a relational database management system.
The lite in SQLite means lightweight in terms of setup, database administration, and
required resources.

SQLite has the following noticeable features: self-contained, serverless, zero-


configuration, transactional.

Features:

SQLite uses dynamic types for tables. It means you can store any value in any
column, regardless of the data type.

SQLite allows a single database connection to access multiple database files


simultaneously. This brings many nice features like joining tables in different databases
or copying data between databases in a single command.

SQLite is capable of creating in-memory databases that are very fast to work with.

14
6. DESIGNING TOOL:

• Draw.io
Draw.io is completely free online diagram editor built around Google
Drive(TM) that enables you to create flowcharts, UML, entity relation, network
diagrams, mockups and more.

Features:
• Collaboration Tools
• Data Import/Export
• Drag & Drop Interface
• Third Party Integration

7. LIBRARIES USED:

 Razorpay
Razorpay is the only converged payments solution company in India that allows
your business to accept, process, and disburse payments via its product suit. With
Razorpay, you have access to all payment modes, including credit and debit cards, UPI
and popular mobile wallets.
 Pillow
Pillow library is used to image class within it to show the image. The image
modules that belong to the pillow package have a few inbuilt functions such as load
images or create new images, etc.
 Six
Six is a Python library which provides utility functions for smoothing over the
differences between the Python versions with the goal of writing Python code that is
compatible on both Python versions.

8. TESTING TOOL:

For testing purpose we used MS Excel to observe the results of application.

15
CHAPTER NO. 5

DESIGN &
IMPLEMENTATION
CHAPTER 5

DESIGN & IMPLEMENTATION

5.1 SYSTEM DESIGN

5.1.1 USE-CASE DIAGRAM

Fig 5.1.1 Use-Case Diagram

The above use case diagram depicts the task which a user can perform through
our application. The user/customer can register/login into the website. The
user/customer can view and search products from the nurseries list. After which the user
can add the herbs to cart and pay online using net banking, card or UPI. After that the
customer can logout.
The seller/admin register/login as same as the user then they can manage
products by adding or deleting orders. The seller/admin can manage orders and
products.

16
5.1.2 CLASS DIAGRAM

Fig 5.1.2 Class Diagram

In the above class diagram, the whole working of our application is represented
in certain manner. The customer class is responsible for registration and validation of
login info as well. The customer class is also responsible to view and buy products. The
seller class is responsible for registration/ login and manage products functions. Product
class shows the products with id price, quantity and image function. Payment class is
responsible for the payments by the customer.

17
5.1.3 SEQUENCE DIAGRAM

Fig 5.1.3 Sequence Diagram

 E-commerce: After landing on the web application and verifying, user is free
to browse the site and check the products listed in different nurseries.

 Customer: After successful login the customer can get the product list and
information and can buy products and pay online by net banking, UPI or card.

 Product: The product will show the products list with unique id, quantity and
price. It gives product information and payment method.

 Database: Database is used to store the products list and all the user and seller
information.

18
5.2 IMPLEMENTED MODULES

We have completed the creation of the user as well as our admin module. We
collected the data of herbs from various websites. We have completed GUI designing
implementation using Django.

Module 1: User /Customer

Users are the people who have the access to see the nurseries and their products.
The user has the access to buy herbs and pay. We created the frontend with the help of
HTML, CSS, BOOTSTRAP and JAVASCRIPT.

1.1 Home: User/Customer can view products ,details and price of products
1.2 Order Management: Users/customers can view and process orders and pay
1.3 Customer Managements: User/customer can Login/ log out, View Details

Module 2: Seller/admin

The seller/admin panel is a backend area used to make a new entry of nurseries
and herbs with some basic details. And, also can manage and access payment of the
user. We used SQLITE as database to store our data.

2.1 Manage Products: Seller/Admin can Add/update and delete products


2.2 Admin Dashboard: Seller/Admin can Add/delete update products
2.3 Admin Management: Seller/Admin can Login/ Log out, View details

19
5.3 SAMPLE CODE

#LOGIN PAGE
def loginpage(request):
return render(request, "mainapp/loginpage.html")

#LOGOUT PAGE
def logoutpage(request):
logout(request)
messages.info(request, "You have been successfully Logged out")
return redirect('home')

#CUSTOMER LOGIN
def customerlogin(request):
if request.method == "POST":
username = request.POST['customerloginusername']
password = request.POST['customerloginpassword']
user = authenticate(username=username, password=password)

try:
login(request, user)
messages.success(request, "You have successfully logged in")
except Exception:
messages.error(request, "Invalid Credentials")
return redirect('home')

#CUSTOMER SIGNUP
def customersignup(request):
if request.method == "POST":
username = request.POST['customersignupusername']
first_name = request.POST['customersignupfirstname']
last_name = request.POST['customersignuplastname']
email = request.POST['customersignupemail']

20
phone = request.POST['customersignupphone']
password = request.POST['customersignuppassword']

if User.objects.filter(username=username):
messages.error(request, "Username is already taken! Please choose another
username")
return redirect("home")

if User.objects.filter(email=email):
messages.error(request, "Email Address is already taken! Please enter another
Email")
return redirect("home")

if len(username) > 20:


messages.error(request, "Username should not be greater than 10 chars")
return redirect("home")

if not username.isalnum():
messages.error(request, "Username must be Alpha-Numeric!")
return redirect("home")

user = User.objects.create_user(username=username, email=email,


password=password)
user.first_name = first_name
user.last_name = last_name
user.is_active = False

user.save()

# EMAIL CONFIRMATION
current_site = get_current_site(request)
email_subject = "Hello " + user.first_name + "!! Please confirm your email address
to Login into Herb House !!"

21
message2 = render_to_string("email_confirmation.html", {"name": user.first_name
"domain": current_site.domain, "uid": urlsafe_base64_encode(force_bytes(user.pk)),
"token": generate_token.make_token(user)
21
})

email = EmailMessage(
email_subject,
message2,
'Dont Reply <do_not_reply@domain.com>',
[user.email],
)
email.fail_silently = True
email.send()
userdata = Customer(phone=phone, user=user)
userdata.save()
return redirect('home')
return redirect(request, "home")

# ADD PRODUCTS
def addProduct(request):
if request.method == 'POST':
name = request.POST['productname']
price = request.POST['productprice']
quantity = request.POST['productquantity']
product_id = request.POST['productid']
description = request.POST['productdescription']
image = request.FILES.get('product_image2')
store_id = request.user.username
productdata = Product(name=name, price=price, quantity=quantity,
product_id=product_id, description=description,
store_id=store_id, product_image=image)
productdata.save()
return redirect('/manageproducts')

22
# DELETE PRODUCTS
def delProduct(request):
if request.method == 'POST':
del_prodID = request.POST['productid']
delete_prod = Product.objects.get(product_id=del_prodID)
delete_prod.delete()
props = Product.objects.filter(store_id=request.user.username)
return redirect('/manageproducts')

# UPDATE PRODUCT
def updateProduct(request):
if request.method == 'POST':
product_id = request.POST['productid']
product_name = request.POST['productname']
quantity = int(request.POST['productquantity'])
price = request.POST['productprice']
desc = request.POST['productdescription']
Product.objects.filter(product_id=product_id).update(name=product_name,
price=price, quantity=quantity, description=desc)
return redirect('/manageproducts')

23
CHAPTER NO. 6

TESTING, RESULTS &


DISCUSSION
CHAPTER 6

TESTING, RESULT & DISCUSSION

6.1 TESTING
6.1.1 TYPES OF TESTING

Manual Testing

Manual testing includes testing a software manually, i.e., without using any
automated tool or any script. In this type, the tester takes over the role of an end-user
and tests the software to identify any unexpected behavior or bug. There are different
stages for manual testing such as unit testing, integration testing, system testing, and
user acceptance testing.

Testers use test plans, test cases, or test scenarios to test a software to ensure the
completeness of testing. Manual testing also includes exploratory testing, as testers
explore the software to identify errors in it.

Following are the testing techniques that are performed manually during the test life
Cycle:

 Acceptance Testing
 White Box Testing
 Black Box Testing
 Unit Testing
 System Testing
 Integration Testing

24
Automation Testing

Automation testing, which is also known as Test Automation, is when the tester
writes scripts and uses software to test the product. This process involves automation of
a manual process. Automation Testing is used to re-run the test scenarios that were
performed manually, quickly, and repeatedly.
Apart from regression testing, automation testing is also used to test the application
from load, performance, and stress point of view.
• Large and critical projects

• Projects that require testing the same areas frequently

• Requirements not changing frequently

• Accessing the application for load and performance with many virtual

• Stable software with respect to manual testing

• Availability of time

25
6.1.2 LEVELS OF TESTING

There are four levels of testing: Unit, Integration, System and Acceptance.

1. Unit Testing: A level of the software testing process where individual


units/components of a software/system are tested. The purpose is to validate that
each unit of the software performs as designed.

2. Integration Testing: A level of the software testing process where individual


units are combined and tested as a group. The purpose of this level of testing is
to expose faults in the interaction between integrated units.

3. System Testing: A level of the software testing process where a complete,


integrated system/software is tested. The purpose of this test is to evaluate the
system’s compliance with the specified requirements.

4. Acceptance Testing: A level of the software testing process where a system is


tested for acceptability. The purpose of this test is to evaluate the system’s
compliance with the business requirements and assess whether it is acceptable
for delivery.

26
6.1.3 TESTING REPORT

27
28
29
30
6.2 RESULTS AND DISCUSSIONS

Fig. 6.2.1 Home Page

This is the Home Screen of our Herb House Web App. Here user will see the
about us and contact us section. User can also see the products list. User will see
Login/Register tab on the home screen. The interface of Herb House is very user
friendly. User will have to Login/Register first.

Fig. 6.2.2 About Us

This is the About us section of our Web App where user can see what our
website aims to.
31
Fig. 6.2.3 Product List

The user can see the list of products listed in our Web App.

Fig. 6.2.4 Contact Us

This is our Contact Us page from where the user can contact us through email.

32
Fig. 6.2.5 Customer Signup

Firstly the customer need to signup by entering proper information and email
authentication.

Fig. 6.2.6 Customer Login

After successful creation of account the customer can login by entering valid username
and password.

33
Fig. 6.2.7 User Details

This will show the information of the customer or seller after successful login.

Fig. 6.2.8 Nursery List

In this section the user can see the various nurseries listed in our Web App. The user
can see the products listed by nurseries by clicking on see products.

34
Fig. 6.2.9 Item List

The user can see the various products added by the nurseries. After clicking on see
products of any nursery the user will get to see their products.

Fig. 6.2.10 My Orders

Here the user can see what he has ordered with the product id product price and
quantity. The user can cancel the item or can pay online.

35
Fig. 6.2.11 Payment

The user can pay online by card or by UPI.

Fig. 6.2.12 Manage/ Add products

The admin/seller can add, update and remove products.

36
CHAPTER NO. 7

ADVANTAGES AND
APPLICATIONS
CHAPTER 7

ADVANTAGES AND APPLICATIONS

7.1 ADVANTAGES

1. User Friendly

The web app is easy to use and the user doesn’t need to have advance technical
knowledge. This is the advantage for user to view the products easily without any
complications. The web app has user friendly interface and easy to handle. The buyers
can easily signup by giving proper credentials and verifying his email. Then buyer can
easily login with username and password. The buyer can buy and pay online by card or
UPI for herbs. The seller has the access to add products and manage products as well he
can approve or decline any order placed by the buyer.

2. Ayurveda over Allopathy

Changing lifestyle and increasing awareness among people after the outbreak of
covid-19 had led people to prefer ayurvedic medicines over allopathy. Allopathy is a
slow poison. Advantages of Ayurveda is from over 3000 years and has a huge
significance in the medical field. Almost 90% of the ayurvedic medicines is made from
herbs. Ayurvedic medicines help to prevent cancer and heart disease.

3. Easy Availability

We have multiple sellers registered in our web app which means more availability
of herbs. This will not make a shortage in the market. This will also help the customer
to get almost all kind of herbs and some how many rare species of herbs also. Our web
app is the one step solution for many kinds of herbs used for medicinal treatment of
diseases.

37
7.2 APPLICATIONS

1. One Stop Solution:


Website for the customers to buy herbs online. People usually get it difficult to get
raw herbs from the market but our site will help them to get almost all kind of herb they
want. Our website will be the one stop solution for the customer demand.

2. Medicinal Use

Herbs can be used to treat many kind of diseases. This can be used to boost the
immunity of an individual. Herbs have a great significance in the field of Ayurveda.
Helps to prevent and manage heart diseases, cancer and diabetes. Apart from medicinal
uses herbs are also used in natural dye, pest control, food, perfume etc.

38
CHAPTER NO. 8

CONCLUSION & FURTHER


SCOPE
CHAPTER 8

CONCLUSION & FURTHER SCOPE

8.1 CONCLUSION

In this project, we have designed a web application and completed its


development by applying engineering knowledge which provides an approach in
building a platform where users can view and buy herbs online from our website. We
have analyzed and identified that many people preferred ayurvedic medicines over
allopathic medicines after the outbreak of covid-19 pandemic. Changing lifestyle and
awareness among the consumers has led consumers to shift from allopathy which is a
slow poison to Ayurveda. But getting herbs for medicinal treatment sometimes get
difficult. The consumers have to search for herbs and most of the times due to less
availability the consumers were unable to get herbs. Seeing such problems we
developed such kind of website so that the consumer can get all kinds of herbs required
for the treatment of any diseases. And as there are many nurseries there will be less
shortage of herbs. So we created the project in two modules user and admin. We used
modern tools like Django to make this project. During the development of the project,
we understood the importance of individual and teamwork while project
development and management. While showcasing our project through various
seminars and conference we enhanced our communication skills and displayed
professional ethics which results in lifelong learning.

39
8.2 FURTHER SCOPE

1. We can add a complete description or the process through steps or related videos
on how to make medicines for the treatment of any disease with the help of
herbs.

2. We can also add the option of cash on delivery in our project.

3. We can also add steps on how to grow herbs in a specific environment in the
project.

4. We can also sell ayurvedic products beside herbs in our project.

5. The project can be improvised using better UI and tools.

6. The project is extendible by collaborating with similar websites or e-commerce


giants like amazon or flipkart.

7. We can also connect doctors to our project so that the customers can have one to
one conversation with the doctor.

8. This web version of the application can be extended by developing an android


application.

40
REFERENCES

1. Aggarwal BB, Kumar A, Bharti AC (2003) Anticancer potential of curcumin:


preclinical and clinical studies. Anticancer Res 23(1/A):363–398.

2. Attaran D, Lari SM, Khajehdaluee M, et al. (2009) Highly sensitive C-reactive


protein levels in patients with pulmonary complication of sulfur mustard
poisoning and its correlation with severity of airway diseases. Human expe
toxicol 28(12): 739-745.

3. Akazawa, S. A case of chest pain related with the post-traumatic stress of large-
scale earthquake successfully treated with daisaikoto and shigyakusan. Kampo-
no-rinsyo 62:1685–1690, 2015.

4. Arya, V., Thakur, R., Kumar, S. and Kumar S. (2012), “Consumer Buying
Behavior towards Ayurvedic Medicines/Products in Joginder Nagar – A
Survey”, Ayurpharm - International Journal of Ayurveda and Allied Sciences,
2017

5. Deshpande, S.M. (2015), “Study of Current Market Scenario & Marketing


Prospects against Changing Attitude of Consumers towards Buying of
Ayurvedic Medicines in India”, International Journal of Business and
Management Invention, June 2015

Real Time Surveys:

1. Shri Shail Herbs, Nagpur

2. Pande Nurdery, Nagpur

3. Green Gold Nursery, Nagpur

Website:

 http://www.worldscientific.com

 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3358962/

 https://www.worldscientific.com/

41
APPENDIX I
APPENDIX II
Instructional Manual
On
“ HERB HOUSE- THE BEST HEALING
HERBS UNDER ONE ROOF”

Submitted By

Mr. Yash Kashti

Mr. Sahil Mahato

Mr. Aman Ilatkar

Mr. Yash Chikte

Under the Guidance of

Mr. Samir Mendhe

Department of Computer Science & Engineering


S. B. Jain Institute of Technology Management
and Research
Nagpur-441501
2021-2022
1. Abstract

In the current scenario changing lifestyle, increasing awareness among


consumers, concerns about the side effects of modern allopathy and rising preference
among for medicinal herbs/ ayurvedic medicines is seen in recent years. Ayurvedic
market to flourish in recent years.
In this project report a new approach is to find out all kinds of herbs to cure
many types of diseases. The approach is based on how people preferred Ayurveda over
allopathy after the covid-19 pandemic. The key idea underlying the approach is to make
consumer aware about the side effects of allopathy and to make them know the benefits
of ayurvedic medicines. As everyone knows that allopathy only focus on symptoms
and disease but Ayurveda has focus on body mind and spirit. 90% of the ayurvedic
medicines are made from herbs. So, in this project we made an e-commerce website
selling herbs and listed various nurseries selling herbs. We also tried to make the
customer aware of the usage herbs in medicine.

2. Modules Implemented

Module 1: User /Customer

Users are the people who have the access to see the nurseries and their products.
The user has the access to buy herbs and pay.

1.1 Home: User can view products as well as details and price of products

1.2 Order Management: users can view and process orders and pay

1.3 Customer Managements: User can Login/ log out, View Details

Module 2: Seller/admin

The seller/admin panel is a backend area used to make a new entry of nurseries
and herbs with some basic details. And, also can manage and access payment of the
user.

2.1 Manage Products: Admin can Add/update and delete products

2.2 Admin Dashboard: Add/delete update products

2.3 Admin Management: Admin can Login/ Log out, View details
3. Software and Hardware Requirement

3.1 Software Requirement

1. Operating System: Windows 7 or Higher

2. Web Framework: Django

3. Server Side Technology: Python

4. Client Side Technology: Html, Css, Bootstrap, Javascript

5. Database: SQLITE

6. Designing Tool: Draw.io

7. Libraries Used: Razorpay, pillow, six

8. Testing Tool: MS Excel

1. OPERATING SYSTEM:
Any Operating System (preferably windows 7 or higher) which is having
architecture of 32-bit or higher is supported. We have used Windows 10 64-bit.

2. WEB FRAMEWORK:
Django is a free and open source web application framework written in python.
It is used for rapid web development and clean, pragmatic design. It is built by
experienced developers to make repetitive tasks easier, so we can focus on writing apps
instead of reinventing the wheel.

Features:
 Super fast: Django development is extremely fast. Our ideas can take the shape
of a product very quickly.

 Fully loaded: Django has dozens of projects that can be integrated to carry out
common tasks such as user authentication, authorization, and content
administration.
 Versatile: Django can be used for almost any kind of project, from CMSs to e-
commerce apps to on-demand delivery platforms.

 Secure: Django also has support to prevent common security issues, including
cross-site request forgery, cross-site scripting, SQL injection, and clickjacking.

 Scalable: Django websites can scale fast to meet high traffic demands.

3. SERVER SIDE TECHNOLOGY:

 Python
Python is a general-purpose interpreted, interactive, object-oriented, and high-level
programming language. Like Perl, Python source code is also available under the GNU
General Public License (GPL). Python is dynamically typed and garbage-collected. It
supports multiple programming paradigms, including procedural, object-oriented, and
functional programming. Python is often described as a battery included language due
to its comprehensive standard library.

Features:
• Easy to code
• Free and Open Source
• Object-Oriented Language
• High-Level Language
• Dynamically Typed Language
• Interpreted Language

4. CLIENT SIDE TECHNOLOGY:

 HTML
HTML stands for Hyper Text Markup Language. It is used to design web pages
using markup language. HTML is the combination of Hypertext and Markup language.
Hypertext defines the link between the web pages. Markup language is used to define
the text document within tag which defines the structure of web pages. This language is
used to annotate (make notes for the computer) text so that a machine can understand it
and manipulate text accordingly. Language uses tags to define what manipulation has to
be done on the text.

Features:
• It is easy to learn and easy to use.
• It is platform independent.
• Images, video and audio can be added to a web page.
• Hypertext can be added to text.

• CSS:
Cascading Style Sheets (CSS) is a style sheet language used for describing the
presentation of a document written in a markup language like HTML. CSS is a
cornerstone technology of the World Wide Web, alongside HTML and JavaScript.

Features:
• You can control the colour of the text, the style of fonts and etc.
• Variations in display for different devices and screen sizes as well as a variety
of other effects.

• BOOTSTRAP:
Bootstrap is a free and open-source front end development framework for the
creation of websites and web apps. The Bootstrap framework is built on HTML, CSS,
and JavaScript (JS) to facilitate the development of responsive, mobile-first sites and
apps. Responsive design makes it possible for a web page or app to detect the visitor’s
screen size and orientation and automatically adapt the display accordingly.

Features:
• Easy to Begin With
• LESS as Well as CSS Files
• Easily Customizable
• Responsive Utility Classes
• Some of the components come pre-styled in Bootstrap
• JAVASCRIPT:
JavaScript is a dynamic computer programming language. It is lightweight and most
commonly used as a part of web pages, whose implementations allow client-side script
to interact with the user and make dynamic pages. It is an interpreted programming
language with object-oriented capabilities.

Features:
 JavaScript is a lightweight, interpreted programming language.
 Designed for creating network-centric applications.
 Complementary to and integrated with Java.
 Complementary to and integrated with HTML.
 Open and cross-platform

5. DATABASE:

 SQLITE:
SQLite is a software library that provides a relational database management system.
The lite in SQLite means lightweight in terms of setup, database administration, and
required resources.

SQLite has the following noticeable features: self-contained, serverless, zero-


configuration, transactional.

Features:

SQLite uses dynamic types for tables. It means you can store any value in any
column, regardless of the data type.

SQLite allows a single database connection to access multiple database files


simultaneously. This brings many nice features like joining tables in different databases
or copying data between databases in a single command.

SQLite is capable of creating in-memory databases that are very fast to work with.
6. DESIGNING TOOL:

• Draw.io:
Draw.io is completely free online diagram editor built around Google
Drive(TM) that enables you to create flowcharts, UML, entity relation, network
diagrams, mockups and more.

Features:
• Collaboration Tools
• Data Import/Export
• Drag & Drop Interface
• Third Party Integration

7. LIBRARIES USED:

 Razorpay
Razorpay is the only converged payments solution company in India that allows
your business to accept, process, and disburse payments via its product suit. With
Razorpay, you have access to all payment modes, including credit and debit cards, UPI
and popular mobile wallets.
 Pillow
Pillow library is used to image class within it to show the image. The image
modules that belong to the pillow package have a few inbuilt functions such as load
images or create new images, etc.
 Six
Six is a Python library which provides utility functions for smoothing over the
differences between the Python versions with the goal of writing Python code that is
compatible on both Python versions.

8. TESTING TOOL:

For testing purpose we used MS Excel to observe the results of application.


3.2 Flowchart

4. Steps to Run the Project

1. Open the browser, go to https://proton2601.pythonanywhere.com/


2. Firstly, the user need to register then login using id and password to our Herb
House page. (Example: Id- admin@gmail.com password- admin@123)

3. After successful login the user will be able to access our website.
4. Now the user needs to search products from their nearby nurseries.
5. After selecting the products the user needs to add them to cart.
6. After adding to cart the user needs to fill all the required details and pay by card
net banking or UPI.
7. After the payment is done the user can logout.
5. Future Scope

1. We can add a complete description or the process through steps or related videos
on how to make medicines for the treatment of any disease with the help of
herbs.

2. We can also add steps on how to grow herbs in a specific environment in the
project.

3. The project is extendible by collaborating with similar websites or e-commerce


giants like amazon or flipkart.

4. We can also connect doctors to our project so that the customers can have one to
one conversation with the doctor.

5. This web version of the application can be extended by developing an android


application.

6. Limitations

1. The web app does not provide delivery options.


2. The website does not provide COD.
3. Bigger the website involved in creating and maintaining web app more is the
requirement of man power.

You might also like