Sumint Report (1) - 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 54

The Right Garden-Your Gardening

Companion
Summer Internship Project report submitted in partial fulfillment of the requirements for the
award of the degree of

BACHELOR OF TECHNOLOGY
IN
COMPUTER SCIENCE AND ENGINEERING

Submitted by

21071A05D4 – Ms. Arshiya Mehnaz


21071A05H8 – Ms. Rachakonda Rishika
21071A05J7 – Ms. Taneti Priyadharshini
21071A05J8 – Ms. T Amrutha Varsha

Under the guidance of


Mr. N Sandeep Chaitanya
(Assistant Professor, Department of CSE, VNR VJIET)

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

VALLURUPALLI NAGESWARA RAO VIGNANA JYOTHI INSTITUTE OF


ENGINEERING AND TECHNOLOGY

An Autonomous Institute, NAAC Accredited with ‘A++’ Grade NBA Accredited for CE,
EEE, ME, ECE, CSE, EIE, IT B. Tech Courses Approved by AICTE, New Delhi,
Affiliated to JNTUH Recognized as “College with Potential for Excellence” by UGC
ISO 9001:2015 Certified, QS I GAUGE Diamond Rated

Vignana Jyothi Nagar, Pragathi Nagar, Nizampet (S.O), Hyderabad – 500 090, TS, India

1
VALLURUPALLI NAGESWARA RAO VIGNANA JYOTHI INSTITUTE OF
ENGINEERING AND TECHNOLOGY

An Autonomous Institute, NAAC Accredited with ‘A++’ Grade NBA Accredited for CE,
EEE, ME, ECE, CSE, EIE, IT B. Tech Courses Approved by AICTE, New Delhi,
Affiliated to JNTUH Recognized as “College with Potential for Excellence” by UGC
ISO 9001:2015 Certified, QS I GAUGE Diamond Rated

Vignana Jyothi Nagar, Pragathi Nagar, Nizampet (S.O), Hyderabad – 500 090, TS, India

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

CERTIFICATE

This is to certify that the Summer Internship Project report entitled “The Right Garden-Your Gardening
Companion” is a bonafide work done under our supervision and is being submitted by Ms. Arshiya Mehnaz
(21071A05D4), Ms. Rachakonda Rishika(21071A05H8), Ms. Taneti Priyadharshini(21071A05J7), Ms.
Tarigopula Amrutha Varsha (21071A05J8) in partial fulfillment for the award of the degree of Bachelor of
Technology in Computer Science and Engineering, of the VNRVJIET, Hyderabad during the academic year
2022-2023. Certified further that to the best of our knowledge the work presented in this thesis has not been
submitted to any other University or Institute for the award of any Degree or Diploma.

Mr. N Sandeep Chaitanya


Assistant Professor
CSE Department, VNR VJIET

Dr . S Nagini HOD
CSE & CSBS Department, VNR VJIET

2
VALLURUPALLI NAGESWARA RAO VIGNANA JYOTHI INSTITUTE OF
ENGINEERING AND TECHNOLOGY

An Autonomous Institute, NAAC Accredited with ‘A++’ Grade NBA Accredited for CE,
EEE, ME, ECE, CSE, EIE, IT B. Tech Courses Approved by AICTE, New Delhi,
Affiliated to JNTUH Recognized as “College with Potential for Excellence” by UGC
ISO 9001:2015 Certified, QS I GAUGE Diamond Rated

Vignana Jyothi Nagar, Pragathi Nagar, Nizampet (S.O), Hyderabad – 500 090, TS, India

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

DECLARATION

We declare that the Summer Internship Project work entitled “The Right Garden-Your
Gardening Companion” submitted in the department of Computer Science and Engineering,
Vallurupalli Nageswara Rao Vignana Jyothi Institute of Engineering and Technology,
Hyderabad, in partial fulfillment of the requirement for the award of the degree of Bachelor
of Technology in Computer Science and Engineering is a bonafide record of our own work
carried out under the supervision of Mr. N Sandeep Chaitanya, Assistant Professor,
Department of CSE, VNRVJIET. Also, we declare that the matter embodied in this
thesis has not been submitted by us in full or in any part thereof for the award of any
degree/diploma of any other institution or university previously.

Place: Hyderabad

Ms. Arshiya Mehnaz - 21071A05D4


Ms. Rachakonda Rishika - 21071A05H8
Ms. Taneti Priyadharshini - 21071A05J7
Ms. Tarigopula Amrutha Varsha-21071A05J8

3
ACKNOWLEDGEMENT

Firstly, we would like to express our immense gratitude towards our institution VNR
Vignana Jyothi Institute of Engineering and Technology, which created a great platform to
attain profound technical skills in the field of Computer Science, thereby fulfilling our most
cherished goal.

We are very much thankful to our Principal, Dr. Challa Dhanunjaya Naidu, and our Head
of Department, Dr. S. Nagini, for extending their cooperation in doing this project within the
stipulated time.

We extend our heartfelt thanks to our guide, Mr. N Sandeep Chaitanya and the project
coordinators Dr. K. Srinivas, and Mrs. L Indira for their enthusiastic guidance throughout
the course of our project.

Last but not least, our appreciable obligation also goes to all the staff members of the
Computer Science & Engineering department and to our fellow classmates who directly or
indirectly helped us.

Ms. Arshiya Mehnaz - 21071A05D4


Ms. Rachakonda Rishika - 21071A05H8
Ms. Taneti Priyadharshini - 21071A05J7
Ms. T Amrutha Varsha-21071A05J8

4
ABSTRACT

In our modern, fast-paced world, reconnecting with nature and embracing sustainable practices is
imperative. Amidst urbanization and a growing disconnect from the environment, fostering personal
green spaces becomes pivotal. Encouraging individuals to cultivate their own backyard gardens emerges
as a solution. Urban dwellers increasingly express interest in organic food, prompting a trend toward
growing plants on terraces or in backyards. However, many face challenges due to a lack of knowledge
and guidance, leading to potential setbacks in their efforts and hindering the spread of urban organic
farming. Existing internet resources may not sufficiently address these challenges, especially for
newcomers to organic farming. Accessing comprehensive, step-by-step guidance for plant growth
proves essential. In this paper, we discuss the Plant App which addresses this need by providing users
with detailed information on each plant. It includes guidance on the optimal growing season, various
growth phases, and care instructions. Users can clarify their doubts with the available information among
other features, all presented through a simple, user-friendly interface.

5
INDEX
Content Page No
1. Introduction 8
2. Literature Survey/ Existing System 9
2.1 Feasibility Study 9
2.1.1 Organizational Feasibility 9
2.1.2 Economic Feasibility 9
2.1.3 Technical Feasibility 9
2.1.4 Behavioral Feasibility 10
2.2 Literature Review 10
2.3 Existing System 10
2.4 Drawbacks of Existing System 11
3. Software Requirement Analysis 12
3.1 Introduction 12
3.1.1 Document Purpose 13
3.1.2 Scope 13
3.1.3 Definitions 13
3.1.4 References 13
3.1.5 Overview 13
3.2 Overall description 14
3.3 External Interface Requirements 16
3.4 System Features 17
3.5 Other Non-Functional Requirements 19
4. Software Design 21
4.1 UML Diagrams 22
4.1.1 Use Case Diagram 22
4.1.2 Sequence Diagram 25
4.1.3 Activity Diagram 27
4.1.4 Class Diagram 29
5. Proposed System 32
5.1 Methodology 32
5.2 Functionalities 33
5.3 Advantages Of Proposed System 33
6. Coding/Implementation 34
7. Testing 45
7.1 Test case -1 44
7.2 Test case -2 45

6
7.3 Test case – 3 46
7.4 Test case – 4 47
8. Results 48
9. Conclusion And Further Work 53
10. References 54

7
1. INTRODUCTION

In an era marked by rapid urbanization and an increasing detachment from nature, the quest to
reconnect with our environment and foster sustainable practices has become a pressing imperative.
The allure of cultivating personal green spaces amidst bustling cityscapes has sparked a burgeoning
interest in urban gardening. However, aspiring gardeners often encounter hurdles stemming from a
lack of knowledge and guidance, hindering their journey towards successful organic cultivation.

In response to these challenges, "The Right Garden - Your Gardening Companion" app
emerges as a beacon of comprehensive support for novice and seasoned gardeners alike. This
innovative mobile application addresses the dearth of accessible resources by offering a tailored
approach to plant cultivation. Users are empowered to choose from a diverse array of plant
categories—vegetables, fruits, or flowers—accessing a wealth of detailed information and guidance
for nurturing their chosen green companions.

More than just a repository of information, this app revolutionizes the gardening experience.
With an extensive database providing meticulous care instructions for each growth phase,
complemented by a rich collection of images and videos illustrating plant development stages, it
serves as an invaluable tool for enthusiasts venturing into the world of gardening for the first time.

By seamlessly integrating features for user queries, weather insights, and an intuitive interface,
"The Right Garden" not only educates but also fosters a thriving community of environmentally
conscious individuals committed to sustainable urban farming practices. This report delves into the
intricate functionalities and potential impact of this transformative gardening companion.

8
2. LITERATURE SURVEY/EXISTING SYSTEM

2.1FEASIBILITY STUDY

The Right Garden App aims to empower users with knowledge and guidance for successful home
gardening. This feasibility study explores the viability of developing and launching the app, covering
market analysis, technical requirements, financial considerations, legal aspects, and operational
feasibility.

2.1.1 ORGANIZATIONAL FEASIBILITY

Target Market: Identify the demographic profile of potential users interested in home plant cultivation
and guidance . Analyze market trends and the increasing demand for gardening-related applications.
Competitor Analysis: Review existing gardening apps to identify strengths, weaknesses, opportunities,
and threats. Identify unique features that can differentiate/distinguish the Home Plant Cultivation App.

2.1.2 ECONOMIC FEASIBILITY

Platform and Development: Assess the technical requirements for iOS, Android, and web platforms.
Evaluate the feasibility of using specific programming languages and/or development frameworks.
Technology and Infrastructure: Determine the availability of technology and infrastructure needed for
app development. Assess scalability/feasibility to accommodate potential and rapid growth in user base.

9
2.1.3 TECHNICAL FEASIBILITY

Development Costs: Estimate initial development costs that gets incurred, including software
development, design, and testing. Consider potential variations in costs based on platform requirements.
Operational Costs: Project ongoing operational costs, includes server hosting, maintenance, and updates.

2.2 LITERATURE REVIEW

The increasing interest in plant cultivation has led to the development of various technologies, including
mobile applications, to assist users in achieving successful and enjoyable gardening experiences. This
literature survey aims to explore existing studies, research articles, and reviews related to home-based
plant cultivation apps, with a focus on features, usability, and user satisfaction.
This literature survey aims to provide a comprehensive understanding of existing home-based
plant cultivation apps, focusing on features, usability, and user satisfaction. By synthesizing insights from
relevant studies, this research will contribute to the development of a robust and user-centric plant app.

2.3 EXISTING SYSTEMS

Several existing systems like PlantSnap ,Planta, GardenTags, SmartPlant, Blossom etc..
Many apps provide users with a vast plant database, allowing them to easily identify various plant species.
Users can access detailed information about each plant, including care requirements, ideal growing
conditions, and potential issues.Home-based plant cultivation apps often offer personalized care guides
based on the specific plants users are growing. These guides provide tailored recommendations for
watering schedules, sunlight exposure, soil conditions, and fertilization. Many apps include features for
real-time monitoring of plant growth. Users can track parameters such as soil moisture, temperature, and
humidity.Some apps foster a sense of community by allowing users to connect with fellow plant
enthusiasts.

10
2.4 DRAWBACKS OF THE EXISTING SYSTEMS
• Accuracy of Plant Identification: Some users may experience challenges with the
accuracy of plant identification features, especially for less common or newly
introduced plant species.
• Limited Plant Database: The comprehensiveness of the plant database may vary
among apps. Some apps might not cover all plant species or may have limited
information on certain varieties.
• Dependency on Technology: Users who heavily rely on app guidance may face
challenges if the app malfunctions, experiences downtime, or if they lose access to
their devices.
• Subscription Costs: Some apps may offer a free version with limited features and
charge a subscription fee for premium features or an ad-free experience.
• Privacy Concerns: Users may be concerned about the privacy of their data, especially
if the app collects personal information or usage data.
• Reliability on Connectivity: Apps that heavily depend on internet connectivity may
pose challenges for users in areas with poor or no network coverage.

11
3. SOFTWARE REQUIREMENT ANALYSIS

Definition: Software requirement specification document is an output document of the second phase of the
software development cycle. SRS acts as a basic source of information for further operation of teams and acts as
reference and all the teams adhere to SRS while working on development project. It contains all the software
and hardware details of the project.
Template of SRS:
Table of contents
1. Introduction
1.1 Purpose
1.2 Document Conventions
1.3 Intended Audience and Reading Suggestions
1.4 Product Scope
1.5 References
2. Overall Description
2.1 Product Perspective
2.2 Product Functions
2.3 User Classes and Characteristics
2.4 Operating Environment
2.5 Design and Implementation Constraints
2.6 User Documentation
2.7 Assumptions and Dependencies
3. External Interface Requirements
3.1 User Interfaces
3.2 Hardware Interfaces
3.3 Software Interfaces
3.4 Communications Interfaces
4. System Features
4.1 System Features one by one
5. Other Nonfunctional Requirements
5.1 Performance Requirements
5.2 Security Requirements
5.3 Safety Requirements
5.4 Software Quality Attributes
5.5 Business Rules
6. Other Requirements

12
SRS For The Right Garden App:

3. 1. Introduction
The software for The Right garden- your gardening companion app is to be developed for providing information
on growing plants easily. It helps in maintaining a terrace garden without needing other people's suggestions. It
provides information about growing plants on terrace and also about monitoring their growth. Users will get to
interact with a user-friendly application which can be installed in their mobiles and also in their personal
computers and learn how to grow plants and monitor their growth.

3.1.1 Purpose
This document is intended for the following group of people:

• Developers for the purpose of maintenance and new releases of the software.
• Documentation Writers.
• Management of My plant app.
• Testers
Document is intended to provide detailed specification for plant growth monitoring and managing the growth of
plants by providing features such as clear instructions to grow the plant, Video with clear explanation, stage wise
growth pictures, weather details and query support at every stage.

3.1.2 Scope
This document applies to The Right garden- your gardening companion app software. This software offers
benefits such as information about how to grow plants, images and relevant videos which help in monitoring
plants, gives information about plants upon asking queries, disease monitoring facility using query facilities to
take care of plants.

3.1.3 Definitions, Acronyms, and Abbreviations


TCE Terrace
NA Not applicable
T&C Terms and conditions
APP The Right garden- your gardening companion app

13
3.1.4 References

The references for the above software are as follows:


1. https://www.ijert.org/research/plant-growth-monitoring-system-IJERTV1IS4185.pdf
2. https://www.mdpi.com/1424-8220/23/1/361

3.1.5 Overview

Section 1.0 discusses the purpose and scope of the software.

Section 2.0 describes the overall functionalities and constraints of the software and user
characteristics.
Section 3.0 and 4.0 details all the requirements needed to design the software.

3.2. Overall Description

3.2.1 Product Perspective

The Right Garden App is a self-contained product. This software allows users to access their The Right garden-
your gardening companion app from their android mobile or any kind of computer system. This software allows
users to get details on how to grow plants and helps in monitoring plant growth by asking queries of plants and
also helps in detecting diseases of plants by querying doubts.

3.2.2 Product Functions

The major functions performed by The Right garden- your gardening companion app :

• Category selection: In The Right garden- your gardening companion app user gets to choose which
category of plant to grow among vegetables, fruits, flowers and see accordingly.
• Plant Details : Give detailed information about how to grow plants, details of care to be taken in each
phase of growth for maximum beast care of the plant.
14
• Images and Videos: The Right garden- your gardening companion app contains detailed images of plants
at every stage so that a person growing a plant for the first time can have reference on how each stage
looks.
• Query option : The Right garden- your gardening companion app has option to pose any kind of query
about plants, related to diseases, any information for good growth, suggestions to grow.
• Weather Details: The Right garden- your gardening companion app contains an option to see weather
details of location you live so that you can plan water accordingly for good growth of plant;

3.2.3 User Characteristics

There are different kinds of users that will be interacting with the system. The intended users of the software are
as follows:

• Gardening Enthusiasts: People who would like to grow organic plants at their own terrace for having a
healthy lifestyle.
• Gardeners: People who already have a garden and would like to expand their gardening knowledge and
scope.

3.2.4 Constraints:

The major constraints that the project has are as follows:


• The app in one mobile can serve one user at a time.
• Users should have the latest android version mobile to support all the features.
• Users should have minimum knowledge about usage of the application.
• App provides only information, required items shall be arranged by user.
• Software requires minimum 5 GB storage in the device.
• Database to use is the latest version of oracle.
• Users must follow all the mentioned steps for the result.
• Users must not leave the monitoring in the middle of plan duration.
• Internet connectivity required for users to use the application.
15
3.2.5 Assumptions and dependencies

• One major dependency that the project might face is the changes that need to be incorporated with
the changes in style of growing plants according to best possibility.
• Another dependency relating to the availability of the internet constantly.
• The information related to the plans needs to be constantly updated as per requirement.
• Sudden change in weather conditions should be taken into consideration and cannot blame The Right
garden- your gardening companion application.

3.3.External Interface Requirements

3.3.1 User Interface requirements

• Users should have a touch screen supported latest version of android or apple os device.
• Any kind of browser is required to access the application.
• Users should have access to data through the internet and users shall afford internet charges.
• In case of any unexpected turn of events, user can use the help button for reporting the event immediately.

3.3.2 Hardware Interface Requirements

• Users should have their own area to grow plants.


• Users should invest in all requirements for gardening .
• Users' devices should be able to have access for high speed internet to access query options and see
weather details.

16
3.3.3 Software interface requirements

In order to perform various different functions, this software needs to interact with various other softwares.So
there are certain software interface requirements that need to be fulfilled which are listed as follows:
• In order to perform all activities like from time to time notifying users about plant care, software shall
interact with device’s location
• Precise Location access is required to give weather based updates and suggest best plants to grow in the
region.
• Apo will also need external databases and API to interact with apps to obtain plant-related information.
• Apps will need internet connectivity to synchronize with user data and receive updates.

3.3.4 Communication interface requirements

The software will have a report system for reporting or posting their doubts when the solutions provided in the
software are not sufficient.This app will require standard protocols(HTTP/HTTPS) for data transfer between the
web browser and external servers.

3.4.System Features

3.4.1 Description and Priority

• Category selection: This feature allows users to select the category of plant to grow.
o Priority : High
• Plant Details :Users can see details on how to grow plants.
o Priority : High
Query: User can ask any kind of query related to plants

o Priority: High
• Weather details: Users can see details about weather at any location.
o Priority: High
• Images and videos : The app lets users post queries and give suggestions.
o Priority : High

17
3.4.2 Stimulus/Response Sequences

Stimulus : Users open app for first time

Response : The app prompts the user to choose category of plant person want to grow

Stimulus : Users select one of the categories from The Right garden- your gardening companion app.

Response : Displays plants under that category.

Stimulus: User selects one of the plants.

Response : The Right garden- your gardening companion app displays whole information on how to grow that
particular plant.

Stimulus : Type query in query section and click enter.

Response: Displays appropriate answer for query.

Stimulus Type location name in Weather search bar.

Response : Displays details of weather at that particular location at that particular time with accuracy.

3.4.3 Functional Requirements

Category Selection

The application will allow the user to select from one of the different categories of plants available. The categories
available are fruits, vegetables and flowering plants. The user shall choose any one of the categories once they
open the application to proceed further.

Plant Selection

The app shall allow users to browse and select plants of interest to grow from their category of choice.

18
View plant information

Users shall be able to view the information regarding the plant they chose along with related images. This
information includes the detailed description of the different stages of plant growth like soil preparation, sowing,
flowering, harvesting. It also includes some tips regarding monitoring the growth of the plant.

Time-lapse Video

The application will also provide the facility of a time-lapse video for each plant, showing the process of the
growth of the plant.

Query Support

The application will allow the user to clarify any queries regarding the growth of a plant or any other doubts
related to gardening. The application should promptly give responses to the query asked by the user.

Weather information

The application will provide the weather situation of a place whichever is requested by the user. It displays
different weather related details like wind speed, humidity percentage and temperature.

3.5. Other Non functional Requirements

3.5.1 Performance Requirements

The following list provides brief summary of performance requirements for the software:

• Accurate location should be shared.


• Devices should be connected to the internet.
• Appropriate browser should be available.

19
3.5.2 Capacity

The app will provide suggestions to customers 24 hours. Customers can access apps 24 X 7 for any requirement
regarding gardening and monitoring their plant. In case of emergencies a help line is provided for the immediate
response to the user.

3.5.3 Data requirements

The plant information should be accurate as per the requirements and any updations should be made timely and
concurrency should be maintained. The images and videos should be in accordance with the application.

3.5.4 Quality

The primary objective is to produce quality software. As the quality of a piece of software is difficult
to measure quantitatively, the following guidelines will be used when judging the quality of the software:

1. Consistency – All code will be consistent with respect to the style (This is implied when adhering to
the standard).
2. Test cases – All functionalities will be thoroughly tested

3.5.5 Software System Attributes

3.5.5.1 Reliability

The data communication protocol shall be such that it ensures reliability and quality of data transmission in a
web environment. All the data regarding plants grown by users are stored in the application.

20
3.5.5.2 Availability

Application shall be made available through any browser over the internet. The app will be unavailable during
service breakdowns. The older versions won’t work after the release of new versions.

3.5.5.3 Security

App shall be very secure and cannot act as host for any kind of viruses and do not interrupt the security of the
user.

3.5.5.4 Maintainability
The application allows components to be developed and maintained individually. Potential growth of The Right
Garden App is considered, ensuring that the application can accommodate future features and expansions.

3.5.6 Business Rules


These business rules provide guidelines for user management,data privacy,community interactions with
applications and with other users.

3.5.6.1 Community guidelines


Users should adhere to guidelines and exhibit respectful behavior when interacting with others within the app’s
community features.

3.5.6.2 Social Sharing


Users can choose to share their experience,their daily status on social media platforms.
Users should follow T&C of respective social media platforms while doing so.

3.5.6.3 Local Regulations


The app should comply with applicable laws and regulations related to data privacy, security and user rights.

21
4.SOFTWARE DESIGN

4.1 UML DIAGRAMS

4.1.1 USECASE DIAGRAM

Use case diagrams serve a specific purpose distinct from other diagram types by focusing on collecting system
requirements and offering an external view post-primary task completion.In, this scenario, it show cases the
functionalities of the website. They gather system needs encompassing various factors, largely design
specifications, and identify functions through constructed use cases and actors.

After the primary task's conclusion, use case diagrams represent the external view. They are valuable for:

• Collecting system requirements.


• Providing a bird's-eye view of the system.
• Determining influential system factors.
• Illustrating requirement interactions as actors.

Actors:

• User
• Admin

Use Cases:
• Select category of plant to grow
• Select plant to grow
• Access Time Lapse Videos and interactive photos of plant
• Clarify any kind of query using query bot
• See regular weather conditions thorough weather bot

22
23
1. Access Plant Information:

- Actors: User

- Functionality: Retrieve detailed information about various plants, including growth stages and care
instructions.

2. Clear Doubts through Chat:

- Actors: User, Chatbot

- Functionality: Engage in real-time chat to seek clarification and clear doubts regarding gardening practices.

3. View Weather Information:

- Actors: User

- Functionality: Obtain weather forecasts by entering the location, aiding in planning gardening activities.

4. Weather Forecast Integration:

- Actors: User

- Functionality: Seamless integration with a weather forecast system to provide accurate and timely weather
information.

This simplified use case diagram focuses on the core functionalities of accessing plant information, utilizing the
chat for support, and obtaining weather forecasts.

24
4.1.2 SEQUENCE DIAGRAM

A sequence diagram serves as a dynamic visual representation that intricately illustrates the chronological
flow of messages within a system, often referred to as an event diagram. This diagram provides a
comprehensive depiction of various dynamic scenarios, showcasing the sequence of events between
lifelines as they actively participate during runtime. In the Unified Modeling Language (UML), lifelines
are symbolized as vertical bars, while the flow of messages is represented by vertical dotted lines spanning
across the bottom of the page. The diagram accommodates intricacies such as iterations and branching,
offering a holistic view of the system's dynamic behavior.

The below sequence diagram shows the sequence of actions that take place in the the Right
Garden App, when a user opens the application over the internet on any web browser. The
user will be taken to the home page of the application, where he selects the category of
plant he wants to know about. Then the category page is rendered open, upon which the
user opens the plant page which he is interested to know about or to grow.

Then the plant information is displayed on the application. If the user has a query, he
can navigate to the query support page and ask a query, the server renders the result and it
is displayed on the application. Additionally, if the user wants to know about the weather
of any particular place, he can enter that place as input in weather field, upon which the
weather details are displayed rendered by the server.

25
26
4.1.3 ACTIVITY DIAGRAM

An activity diagram functions as a flowchart, illustrating the progression of information from one action
to the next within a system operation. The control flow guides the movement from one operation to
another, displaying sequential, branching, or concurrent nature through components like join, fork, etc.

Activity Diagram for Terrace Garden App:


1. Access Plant Information:
- The user initiates the activity by selecting the "Access Plant Information" option.
- The system retrieves plant information, including growth stages and care instructions.
- Information is displayed to the user for reference.

2. Clear Doubts through Chat:


- The user triggers the "Clear Doubts through Chat" activity.
- The system establishes a connection to the chatbot.
- The user and chatbot engage in a real-time chat to address queries and provide clarification.

3. View Weather Information:


- The user selects the "View Weather Information" option.
- The system prompts the user to enter a location.
- The system fetches and displays the weather forecast for the specified location.

4. Weather Forecast Integration:


- The system continuously integrates with a weather forecast service in the background.
- If the user has enabled weather notifications, the system sends timely updates based on the integrated
forecasts.

This activity diagram reflects the user's interactions with the terrace garden app, emphasizing the key
activities of accessing plant information, utilizing the chat for support, and obtaining weather forecasts.
The diagram illustrates the flow of actions and interactions between the user and the system for a seamless
gardening experience.

27
28
4.1.4 Class diagram

A class diagram, also known as a static diagram, provides a visual representation of the static view of an
application, detailing its structure. This diagram serves to visualize, describe, and document various
components within a system and is valuable for generating executable code for software programmers.

Class diagrams are particularly useful in modeling object-oriented systems, as they can be directly
translated into object-oriented languages. They showcase the traits, activities, and constraints of classes,
interfaces, affiliations, collaborations, and other structural elements within a system. Commonly utilized for
depicting the static aspects of a system, a class diagram offers a comprehensive overview of the relationships
and interactions among different elements.

The class diagram for 'The Right Garden' website encapsulates key components to facilitate a
comprehensive user experience. It delineates classes such as Users, representing individuals engaging with
the website. The Select class enables users to choose specific plants for their terrace garden. Plant Growth and
Nutrient Monitoring classes provide insights into the developmental stages and nutrient levels of selected
plants.

The Weather Check class integrates real-time weather data, ensuring users receive tailored guidance
based on their location. Together, these classes form a cohesive structure, orchestrating a seamless interaction
within the website's ecosystem.

The class diagram for the terrace garden app comprises several key classes that represent distinct components
of the system.

Firstly, there is the User class, which encapsulates functionalities related to accessing plant information and
engaging in a chat for doubt clarification. It contains methods such as ‘accessPlantInformation()’ and
‘clearDoubts(chatMessage)’.

29
Secondly, the Chatbot class represents the chat interface, equipped with the ‘processMessage(chatMessage)’
method to analyze and respond to user messages, aiding in doubt resolution.

The Weather Service class manages the integration with weather forecasts. Its ‘getWeatherForecast(location)’
method retrieves and provides weather forecasts based on a specified location.

The TerraceGardenApp class acts as a central coordinator, incorporating instances of the User, Chatbot, and
Weather Service classes. Its methods, such as ‘initiatePlantInfoAccess()’, ‘initiateChat(chatMessage)`, and
‘initiateWeatherForecast(location)’, orchestrate the overall functionality of the app.

These classes collectively represent the static structure of the terrace garden app, depicting the relationships
and interactions among different components within the system.

This class diagram outlines the key classes involved in the terrace garden app, including User, Chatbot,
WeatherService, TerraceGardenApp, and WeatherNotification. The relationships among these classes
illustrate how they collaborate to provide functionalities such as accessing plant information, interacting
through chat, and obtaining weather forecasts.
The PlantInformation class encapsulates details specific to each plant in the system. It holds attributes such
as the plant's name, a representation of its growth stages, and care instructions. The methods within this class
enable the retrieval of plant-specific information.

The extended class diagram now includes the PlantInformation class, enhancing the representation of plant-
related functionalities within the terrace garden app. This class encapsulates plant-specific data and behaviors,
contributing to a more comprehensive understanding of the system's static structure.

30
31
5 PROPOSED SYSTEM

5.1 METHODOLOGY
DATA ACQUISITION FOR "THE RIGHT GARDEN" APP:
In developing "The Right Garden: Plant Growth Guiding App," data acquisition is crucial for providing
valuable insights into plant care and terrace gardening:

1. Weather Data Integration:


- Utilize reliable weather APIs to provide real-time and accurate weather predictions for users' specified
locations. Ensure seamless functionality and user-friendly display of weather information within the app.
2. Educational Content Curation:
- Curate educational content on plant growth stages, care tips, and sustainable gardening practices.
Reference reputable sources such as gardening encyclopedias, academic studies, and trusted gardening
websites to ensure accuracy.

PREPROCESSING STEPS FOR "THE RIGHT GARDEN" DATA:


1. Filtering:
- Remove irrelevant information and special characters, focusing on essential words and phrases related to
plant care.
2. Tokenization:
- Break down textual content into tokens, extracting meaningful words and phrases relevant to plant
growth.

3. Removal of Redundancy:
- Identify and eliminate any redundant, duplicate, or irrelevant data to maintain a clean dataset.

Chat Bot Methodology for “THE RIGHT GARDEN” App:


Implementing a chatbot in “The Right Garden : Plant Growth Guiding App” is essential for providing instant
assistance and enhancing user engagement. The chatbot methodology involves several key steps to ensure
effectiveness and user satisfaction.
1.Chatbot Design:
- Define the chatbot’s conversational flow, incorporating a user-friendly design. Plan reponses to common
32
queries and ensure the chatbot aligns with the app’s educational objectives.
2. Integration with knowledge Base:
- Integrate the chat bot with a comprehensive knowledge base that includes information on plant care, growth
stages, weather conditions, and troubleshooting tips.
These methodologies ensure that "The Right Garden" app provides accurate, relevant, and high-quality
information on plant growth, creating a seamless experience for terrace gardeners.

5.2 FUNCTIONALITIES

5.2.1 Plant Growth Guidance:


- Developed a user-friendly interface to guide terrace gardeners through the complete lifecycle of plants,
offering comprehensive information on optimal care and growth stages.

5.2.2 Weather Prediction Integration:


- Integrated a weather prediction feature, enabling users to input their city for real-time weather forecasts. This
ensures adaptive and personalized recommendations based on current environmental conditions.

5.2.3 Journey Insights:


- Provided detailed insights into the growth journey of plants, fostering a deeper connection between users and
their terrace garden. Users can track milestones and anticipate future stages.

5.2.4 Interactive Chat Support:


- Implemented a chatbox within the app to offer users real-time assistance and clarification for any doubts they
may have about their plants or gardening practices.

5.3 ADVANTAGES OF THE RIGHT GARDEN APP:


- Empowers terrace gardeners with a comprehensive tool for plant care, combining guidance on growth,
weather adaptability, and troubleshooting.
- Enhances user experience by integrating a seamless chat support system, promoting user engagement and
satisfaction.
- Streamlines the terrace gardening process, providing users with a single, intuitive platform for all their
gardening needs.
33
6. CODING AND IMPLEMENTATION

6.1 Route layout to have fixed layout for web application

6.2 Routing to navigate to all web pages

34
35
6.3 server to communicate with chat gpt api

36
6.4. bot.js to communicate with server.js to render answer from chat gpt api

37
6.5 Weather widget to get weather details

38
6.6. Example of one of the plant information rendering page

39
40
6.7 Snippets of App.js

41
6.8 Code to implement Nav bar

42
6. 9 Code to implement Fruit category

43
7. TESTING

Testing is mainly used to validate functional and non-functional requirements and check the app
performance. The main objectives of testing apps are:
• Quality Assurance
• Detect bugs and flaws

In this testcase, we are testing whether the category of the plant the user wishes to browse about or the
category of plant the user wishes to grow, when selected is displaying content according to the category or
not. In this testcase, we opened The Right Garden Application where we selected the category of “fruits”.
We expect the page to be navigated to the fruits page accordingly with suitable information. As expected,
the content of the fruit plants is displayed accordingly. The testcase passed.

44
In this testcase, we are testing whether after the user selects the plant he wishes to browse about, the information
displayed is concurrent with the plant selected and as expected. In this testcase, we opened The Right Garden
Application where we selected the category of “fruits”. Then in fruits category, we chose the “lemon” plant. We
expect the information related to lemon to be displayed and it should be according to the user needs. As expected,
the information is displayed about lemon plant itself and it is as expected. The testcase passed.

45
In this testcase, we are testing whether we are able to enter the query in chatbot properly or not and also whether
the answer is displayed or not. In this testcase, we opened The Right Garden Application where we navigate to
the query section. In the query section, we entered a query related to plants and click ‘enter’ and submit. We
expect the answer to the query to be displayed promptly and in the right order. As expected, the answer is
displayed correctly and promptly.The testcase passed.

46
In this testcase, we are testing whether the weather prompt is working properly or not . In this testcase, we opened
The Right Garden Application where we navigate to the query section. In the query page, under the weather
section, in the prompt box, we entered the place name to check the weather displayed is correct or not. We expect
the weather of the place to be displayed correctly. As expected, the weather is displayed and is correct as per the
place entered. The testcase passed.

47
8. RESULTS

1. Result of chatbot upon querying

2.Result of weather bot upon asking for weather condition in Hyderabad

48
3. Result for jasmine

4. Result for sowing and flowering of jasmine

49
5.Result for Diseases of jasmine

6.Result for harvesting jasmins and some tips

50
7.Result for Time lapse video

1. Result Lemon

51
9. Result for Tomato

52
9. CONCLUSION AND FUTURE WORK

The Right Garden: Plant Growth Guiding App is a game changer in terrace gardening,
providing a holistic approach to plant care. This innovative app not only imparts crucial information on plant
growth but also integrates advanced weather prediction features, guaranteeing ideal conditions for
cultivation. The real gem lies in its user-friendly design, featuring an integrated chat box for instant doubt
resolution, making it an indispensable tool for both beginners and seasoned gardeners. With a commitment
to education, weather accuracy, and interactive support, The Right Garden stands as a pinnacle in the world
of gardening apps, promising users a seamless journey from planting to harvest. Elevate your terrace
gardening experience with this all-in-one solution, bridging knowledge, technology, and nature seamlessly.
As technology continues to shape the future of plant cultivation apps, a holistic approach that
combines innovation, user engagement, and environmental consciousness is likely to redefine the way
people interact with and cultivate their gardens. Gardening enthusiasts can anticipate exciting developments
that will further empower them in their journey to create vibrant and thriving green spaces.

53
10.REFERENCES

• Palgrave Macmillan Ltd. “Agricultural and Biological Sciences: Plant Science.” United Kingdom.
This reputable publisher, with an impressive H-index of 111, offers valuable insights, 11th September
2021.
• Annual Reviews Inc. excels in Agricultural and Biological Sciences, covering Plant Science,
Biochemistry, Genetics. Based in the United States, this publisher boasts a remarkable H-index of 286
from American universities and research institutions, 5th June 2022.
• Journal of Plant Growth Regulation, international publication featuring original articles on all aspects
of plant growth and development, published by Jutta Ludwig-muller, a Transformative Journal, 12th
December 2022.
• Web Development and performance comparison of Web Development Technologies in Node.js and
Python, published by Sai Sri Nandan Challapalli, 6th March 2023.

54

You might also like