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

lOMoARcPSD|16993236

E-farming Website project web application based project

Bsc. Information Technology (University of Mumbai)

Studocu is not sponsored or endorsed by any college or university


Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)
lOMoARcPSD|16993236

E-Farming Website
A Project Report

Submitted in partial fulfilment of the


requirements for the award of the Degree of
BACHELOR OF SCIENCE (INFORMATION TECHNOLOGY)
By

PRATHAMESH PALYE
18302B0010
Under the esteemed guidance of

Mrs. Ketki Ghawali


Assistant Professor, Department of Information Technology

DEPARTMENT OF INFORMATION TECHNOLOGY

VIDYALANKAR SCHOOL OF INFORMATION TECHNOLOGY


(Affiliated to University of Mumbai)
MUMBAI, 400 037
MAHARASHTRA
2020 - 2021

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

VIDYALANKAR SCHOOL OF INFORMATION TECHNOLOGY


(Affiliated to University of Mumbai)
MUMBAI-MAHARASHTRA-400037
DEPARTMENT OF INFORMATION TECHNOLOGY

CERTIFICATE
This is to certify that the project entitled, "E-Farming Website", is bonafied work of
PRATHAMESH PALYE bearing Seat No: 18302B0010 submitted in partial fulfilment of
the requirements for the award of degree of BACHELOR OF SCIENCE in INFORMATION
TECHNOLOGY from University of Mumbai.

Internal Guide Coordinator

Internal Examiner External Examiner

Date: College Seal Principal

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

ABSTRACT

Internet now-a-day is the most used technology and it is also the


most reached technology. On the other hand the farmers are still unaware of
the full power of Internet. Instead of selling and buying the products which are
actually used for the agricultural purpose online they still rely on the vendors
and salesaman for the purchase. This transaction leads to the loss for farmers
as the vendors charge high rates for the products.

E-Farming Website tries to help the farmers in buying this


products directly from the producers and purchasing it at a lower price. It also
gives the option to the farmer to upload their cultivation online and sell it
through online platfrom.

In this way the farmers can actually sell therir cultivation and earn
some amount of more money than usual and also they can buy products which
are needed for the next cultivation from the same place which will save their
time and money.

Keywords : Website, E-Farming, Cultivation,

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

ACKNOWLEDGEMENT

We would like to express our special thanks and gratitude to ur


project guide Mrs. Ketki Ghawali for guiding us to do the project work on time
and giving us all support and guidance, which made complete our project duly.
We are extremely thankful to her for providing such nice support and guidance.

We are also thankful for and fortunate enough to get


constant encouragement, support and guidance from the teachers of
information Technology who helped us in successfully completing our project
work.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

DECLARATION
I hereby declare that the project entitled, “E-FARMING WEBSITE”
done at Vidyalankar School of Information Technology, has not been in any case
duplicated to submit to any other universities for the award of any degree. To
the best of my knowledge other than me, no one has submitted to any other
university.

The project is done in partial fulfilment of the requirements for the


award of degree of BACHELOR OF SCIENCE (INFORMATION TECHNOLOGY) to
be submitted as final semester project as part of our curriculum.

Name and Signature of the Student

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

Table of Contents
Chapter 1 Introduction.......................................................................................................9
1.1 Background.............................................................................................................10
1.2 Objectives...............................................................................................................11
1.3 Purpose, Scope , Applicability (Feasibility Study).....................................................11
Chapter 2 Survey of Technologies.....................................................................................15
Chapter 3 Requirements and Analysis...............................................................................25
3.1 Problem Definition..................................................................................................25
3.2 Requirement Specification......................................................................................26
3.3 Planning and Scheduling.........................................................................................27
3.4 Software and Hardware Requirement.....................................................................29
Chapter 4 System Design..................................................................................................29
4.1 Basic Modules.........................................................................................................30
4.2 Data Design (Table Design)......................................................................................31
4.2.1 Schema Design..................................................................................................31
4.2.2 Data Integrity and Constraints...........................................................................31
4.3 Diagrams.................................................................................................................32
4.3.1 E-R Diagram /Block Diagram.............................................................................32
4.3.2 Class Diagram / Data Flow Diagram...................................................................33
4.3.3 Use Case Diagram.............................................................................................33
4.3.4 Sequence Diagram............................................................................................35
4.3.5 Activity Diagram...............................................................................................36
4.3.6 Component Diagram.........................................................................................36
4.3.7 Menu Tree / Circuit Diagram.............................................................................37
4.3.8 Event Table.......................................................................................................38
4.3.9 User Interface Design........................................................................................38
4.3.10 Security Issues................................................................................................38
4.3.11 Test Cases Design............................................................................................39
References........................................................................................................................42
Bibliography.....................................................................................................................42
Website Used...................................................................................................................42
Summary..........................................................................................................................43
Plagiarism Report.............................................................................................................43

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

List of Tables

Sr no Table Name Page No

1. Difference between 16
Mobile Apps and Mobile
Websites

2. Difference between 17
Mobile Websites and PC
Websites

3. Software and Hardware 29


Requirements

4. Event Table 38

5. Test Case Design 41

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

List of Figures
Figure 1 : Netbeans IDE....................................................................................................17

Figure 2 : Netbeans v/s Ecllipse…......................................................................................18

Figure 3: Tomcat Server...................................................................................................19

Figure 4 :Tomcat v/s GlassFish….......................................................................................19

Figure 5 : Gupshup IO.......................................................................................................20

Figure 6: Firebase…...........................................................................................................21

Figure 7 : Gnat Chart…....................................................................................................27

Figure 8 : WaterFall Model...............................................................................................27

Figure 11 : Basic Modules of application..........................................................................30

Figure 12 : Schema Design................................................................................................31

Figure 13 : ER Diagram…..................................................................................................32

Figure 14 : Class Diagram…...............................................................................................33

Figure 15 : Use Case Diagram...........................................................................................34

Figure 16 : Sequence Diagram..........................................................................................35

Figure 17 : Activity Diagram…..........................................................................................36

Figure 18 : Component Diagram.......................................................................................36

Figure 19 : Menu Tree......................................................................................................37

Figure 20 : Home Page…...................................................................................................38

Figure 21 : Upload Page...................................................................................................38

Figure 22 : Other Functions..............................................................................................38

Figure 23 : Account Detail Page….....................................................................................38

Figure 24 : Product ad Page…...........................................................................................39

Figure 25 : Login Page…....................................................................................................39

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

Chapter 1 : Introduction

1.1 Background :-

Agriculture is the life blood of Indian economy. It contributes


about 25 percent of GDP and about 70 percent of the population of our
country is dependent on agriculture for livelihood. Agricultural development
was given high priority in the past 50 years and especially under various Five
Year Plans. The share of agriculture in national income is considered as an
indicator of economic development.

E-farming is the web application that will help the farmers to


perform the agro-marketing leading to achieve success and increase in their
standard of living. The Marketing facility would allow the farmers to have a
view of the bills created and the related information in their accounts. Website
will also provide market-wise, commodity wise report to the farmer in
interactive way.

E-Farming is a web application developed for farmers. This


application gives suppose to the village farmers who want to use this facility
and who want to learn how is it possible and how they can use e-farming to sell
their products. If the farmers have knowledge of computer then they can
directly register in the site and sell their product otherwise they can contact
company’s computer professional who will schedule classes to teach the basics
of computers and internet. They can know how they can open this site and
register with it and sell their products online etc. E-Farming is a project
developed to build a website which will help farmers from to sell their products
to different cities through online. Farmers can use this facility and can learn
how is it possible and how they can use e-farming to sell their products

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

1.2 Objectives :-

 To help the farmers to buy and sell the products used in the farm
easily.
 To help them to buy the products as per their budget.
 To help the farmers to compare the price and the quality of the
products.
 To help the vendors to sell their products and rent the equipments to
farmers
 To help the vendors to reached out to the farmers and expand their
business.

1.3 Purpose, Scope, Applicability (Feasibility Study) :-


1.3.1 Purpose :

The intent of our project is to work on technologies to find a


more sustainable way to deal with the agricultural products and
equipments between the farmers and the vendors so that the farmers
can get the required products and equipments as per their needs and
vendors can also reached out to more farmers.

1.3.2 Scope :
 The website has an user-friendly interface.
 All the information providing activities for the products and the
equipment is been done by the vendor.
 The app provides quick data processing and the database used is
highly secure.
 Searching for any particular type of product and equiment is very
easy and fast.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

 Sellers and buyers can contact each other and negotiaite on the
cost of the product.

1.3.3 Applicability :
1. Operational Feasibility-

In this phase we are going to study the operational


implementation of the application. This would be an activity stream which will
help the users.

 Farmers-

Once logged-in the farmer can see the avertisement of the


uploaded product.The farmer can search the product or equipment based on
the fields like the name of product or equipment, its quantity, his locality, and
the price which he has decided. Also there will be an option for farmer to
contact the vendor for futher transaction.

The farmer also will have an upload option where they can upload
their crop description and sell it. They will be given options like type, size,
quantity, photo, price. They will also give a contact number which will be used
for transaction.

 Company(Buyer)-

Once logged-in the vendor will get an option to upload the


product description. He will be provided with he fields like the name of
product, the type of equipment, their cost, the locality in which they are and
quantity. Then they will also be given an option to upload a photo of the
product or the equipment. They also need to give their contact number for the
transaction.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

 User-
There will also be a third type of user for this website this user can
be anyone who wants to know about the prices of the agricultural products
and the equipment. He/She can also order some products if they want.

The farmer and the vendor and users will get notified through the
website after their transaction is placed or done safely.

2. Technical Feasibility-
In this phase we are going to study the operational
implementation of the application. This would be an activity stream
which will help the users.
 Netbeans v8.1-

NetBeans IDE is a modular, standards-based integrated


development environment (IDE), written in the Java programming language.
The NetBeans project consists of a full-featured open source IDE written in the
Java programming language and a rich client application platform, which can be
used as a generic framework to build any kind of application.

 Tomcat Server-

The Apache Tomcat software is an open source implementation of


the Java Servlet, JavaServer Pages, Java Expression Language and Java
WebSocket technologies. The Java Servlet, JavaServer Pages, Java Expression
Language and Java WebSocket specifications are developed under the Java
Community Process. Apache Tomcat software powers numerous large-scale,
mission-critical web applications across a diverse range of industries and
organizations.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

 Servlet Framework-

Servlets provide a component-based, platform-independent


method for building Web based applications, without the performance
limitations of CGI programs. Servlets have access to the entire family of Java
APIs, including the JDBC API to access enterprise databases.

 Gupshup API-

Gupshup is the leading smart messaging platform. It enables


businesses to build engaging conversational experiences seamlessly across 30+
messaging channels using a single API. Gupshup offers a comprehensive
product portfolio that includes an easy to use omni-channel messaging API,
advance bot building platform and mobile marketing tools.

 Firebase Server-

Firebase is a Backend-as-a-Service — BaaS — that started as a


YC11startup and grew up into a next-generation app-development platform on
Google Cloud Platform. Firebase frees developers to focus crafting fantastic
user experiences.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

Chapter 2 : Survey of Technologies

A mobile website is similar to any other website in that it consists


of browser-based HTML pages that are linked together and accessed over the
Internet (for mobile typically WiFi or 3G or 4G networks). The obvious
characteristic that distinguishes a mobile website from a standard website is
the fact that it is designed for the smaller handheld display and touch-screen
interface.
Increasingly, responsive web design is becoming the new standard
for websites that are not only mobile-friendly, but that can scale to any sized
device - from desktop down to tablet and handheld smartphones.
Like any website, mobile websites/responsive sites can display text
content, data, images and video. They can also access mobile-specific features
such as click-to-call (to dial a phone number) or location-based mapping.

Why Mobile Websites-


1. Immediacy – Mobile Websites Are Instantly Available
2. Compatibility – Mobile Websites are Compatible Across Devices
3. Upgradability – Mobile Websites Can Be Updated Instantly
4. Findability – Mobile Websites Can be Found Easily
5. Shareability – Mobile Websites Can be Shared Easily by Publishers,
and Between Users
6. Reach – Mobile Websites Have Broader Reach
7. LifeCycle – Mobile Websites Can’t be Deleted
8. A Mobile Website Can be an App!
9. Time and Cost - Mobile Websites are Easier and Less Expensive
10. Support and Maintenance

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

Mobile Apps v/s Mobile Websites – Which is beter ?


Features Mobile Apps Mobile Websites
Tools and knowledge Written in Java and other Written entirely in
languages with XML HTML, CSS and
JavaScript
Execution “Installed” shortcut, use Reached by navigation a
like an native app website by a way of
Uniform Resource
Locator(URL)
User Experience Touch friendly, Navigational UI between
interactive pages displaying static
data
Performance UI logic resides locally, All code executed server,
making the app resulting in network-
responsive and dependent performance
accessible offline
Table 1 : Difference between Mobile Apps and Mobile Websites
Developing both mobile website and mobile app for your business
can prove to be a costly affair. You might have to choose one of the two
channels, based on your budget and business goals. While both channels have
their own pros and cons, mobile apps, especially, can help you get higher
conversions.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

Mobile Websites v/s PC Websites-


Mobile Webstes PC Websites
Screen Size Small screen size Large screen size
Interaction using
Interaction Interaction usng cursor
gestures
Organizing Using scrolling and
Using columns
Content portrait or landscape
More use for
Functionality Used for big tasks
experimental functions
Table 2 : Difference between Mobile Webistes and PC Websites

Software used for developing mobile apps-

1. Netbeans v8.1-

Figure 2.1 : Netbeans IDE

NetBeans IDE is a modular, standards-based integrated


development environment (IDE), written in the Java programming language.
The NetBeans project consists of a full-featured open source IDE written in the
Java programming language and a rich client application platform, which can be
used as a generic framework to build any kind of application.

NetBeans IDE runs on the Java SE Development Kit (JDK) which


consists of the Java Runtime Environment and developer tools for compiling,
debugging, and running applications written in the Java language.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

 Features of Netbeans-
 Node.js support
 HTML5/JavaScript Enhancements
 Java and PHP Enhancements
 C/C++ Enhacements
 Support for remote Oracle WebLogic Server
 Community contributed WildFly 9 and 10
 Bundling with the JRE
 Comparision of Netbeans with Eclipse-

Figure 2.2 : Netbeans v/s Ecllipse

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

2. Tomcat Server-

The Apache Tomcat software is an open source implementation of


the Java Servlet, JavaServer Pages, Java Expression Language and Java
WebSocket technologies. The Java Servlet, JavaServer Pages, Java Expression
Language and Java WebSocket specifications are developed under the Java
Community Process.

Figure 2.3 : Tomcat Server

The Apache Tomcat software is developed in an open and


participatory environment and released under the Apache License version 2.
The Apache Tomcat project is intended to be a collaboration of the best-of-
breed developers from around the world. We invite you to participate in this
open development project.

 Tomcat Server v/s Glassfish Server-

Figure 2.4 : Tomact v/s Glassfish

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

3. Servlet Framework-
Servlets provide a component-based, platform-independent
method for building Webbased applications, without the performance
limitations of CGI programs. Servlets have access to the entire family of Java
APIs, including the JDBC API to access enterprise databases.
Using Servlets, you can collect input from users through web page
forms, present records from a database or another source, and create web
pages dynamically.Java Servlets often serve the same purpose as programs
implemented using the Common Gateway Interface (CGI).

 Applications of Servlet-

 Read the explicit data sent by the clients (browsers)-.


This includes an HTML form on a Web page or it could also come
from an applet or a custom HTTP client program.
 Read the implicit HTTP request data sent by the clients
(browsers)-
This includes cookies, media types and compression schemes the
browser understands, and so forth.
 Process the data and generate the results-
This process may require talking to a database, executing an RMI
or CORBA call, invoking a Web service, or computing the response
directly.
 Send the explicit data (i.e., the document) to the clients
(browsers)-
This document can be sent in a variety of formats, including text
(HTML or XML), binary (GIF images), Excel, etc.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

 Send the implicit HTTP response to the clients (browsers)-


This includes telling the browsers or other clients what type of
document is being returned (e.g., HTML), setting cookies and
caching parameters, and other such tasks.

 Advantages of Servlet-

 Performance is significantly better.


 Servlets execute within the address space of a Web server. It is
not necessary to create a separate process to handle each client
request.
 Servlets are platform-independent because they are written in
Java.
 Java security manager on the server enforces a set of restrictions
to protect the resources on a server machine. So servlets are
trusted.
 The full functionality of the Java class libraries is available to a
servlet. It can communicate with applets, databases, or other
software via the sockets and RMI mechanisms that you have seen
already.

4. Gupshup API-

Gupshup is the leading smart messaging platform. It enables


businesses to build engaging conversational experiences seamlessly across 30+
messaging channels using a single API. Gupshup offers a comprehensive
product portfolio that includes an easy to use omni-channel messaging API,
advance bot building platform and mobile marketing tools. Single API to create
seamless conversations across SMS and Voice.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

 SMS: Send and receive messages globally with built-in delivery


intelligence.
 Voice: Make and receive calls from apps and orchestrate personalized
call experience.

Figure 2.5 Gupshup IO

Features-

 Two Factor Authentication


 Lead generation and tracking
 Customer notification and engagement
 Order tracking and delivery notifications
 Smart, Group and Bot Messaging
 Text – to – Speech
 Number masking and Lookup
 Form builder and email
 NLP
 Link tracking and Out-bound dialler
 Cross Promotion

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

5. Firebase Server -

Firebase is a Backend-as-a-Service — BaaS — that started as


a YC11startup and grew up into a next-generation app-development
platform on Google Cloud Platform. Firebase frees developers to focus
crafting fantastic user experiences. You don’t need to manage servers.
You don’t need to write APIs. Firebase is your server, your API and your
datastore, all written so generically that you can modify it to suit most
needs.

Figure 2.6 Firebase

Features –
 Authentication -
Firebase auth has a built in email/password
authentication system. It also supports OAuth2 for Google,
Facebook, Twitter and GitHub. We’ll focus on email/password
authentication for the most part. Firebase’s OAuth2 system is well-
documented and mostly copy/paste.
 File Storage -
Firebase Storage provides a simple way to save binary
files - most often images, but it could be anything - to Google Cloud
Storage directly from the client. Firebase Storage has it’s own
system of security rules to protect your GCloud bucket

 Firestore -
Cloud Firestore is a flexible, scalable database for

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

mobile, web, and server development from Firebase and Google


Cloud Platform. It keeps your data in sync across client apps through
realtime listeners and offers offline support for mobile and web
network latency or Internet connectivity. Cloud Firestore also offers
seamless integration with other Firebase and Google Cloud Platform
products, including Cloud Functions.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

Chapter 3 : Requirements and Analysis

3.1 Problem Definition :-


India is a developing country, the majority of its population
belong to the rural area, and their primary job is agriculture. But now
days farmers are facing many problems in agriculture some major
problems are :-
 Unavailability of good quality of Seeds :-
Seeds are the basic input or row material for the farmers to
grow crops. But there is a lack of availability of the good quality of seeds
in market. Due of this, Farmers are bound to use the traditional seeds
which less productive and yields fewer crops. Most of the certified seeds
manufactures in India are private campanies.
 Lack of Modern Equipment :-
Even in 2020, the majority of Indian farmers use traditional
tools for agriculture such as plough, sickle, etc. This leads to the wastage
of energy and manpower and less yield per capita labour force. Only
little use of the machine is seen in irrigation, harvesting and
transportation. There are two reasons for that First, they are not aware,
and Second , they can’t afford such equipment.
 Dealing with local traders and middleman :-
It is a problem a farmer faces at the end of all agricultural
activity. This is why we have also mentioned it in the end. Due to the
absence of mandi house and proper market places, farmers are not able
to sell their crops and get a reasonable price. In this situation, they have
to look for a middleman and local traders for business. These middlemen
don’t provide a reasonable price for their crops, and hence famers are
bound to their sell crops at a lower price or just throw at the roads.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

3.2 Requirement Specification :-


The Government find’s that farmers not able to sell their
product directly to buyer. They have to sell their produce to middle man
so that he sell it to main market or the customers for farmer. But
because of that farmers don’t get exact money for their produce the
middle man gets more profit then farmer, they don’t get enough money
from produce. Also sometimes even if they get to sell it to market some
produce will be left for which they don’t get anything and it goes to
wastage. With our web site they can able to sell their produce directly to
the customer or to the big companies.
They don’t have to sell it to any middle person and they get
the exact money for their produce, also if any produce is left after selling
into the main market they can sell it on the site. Also not just selling
produce they can also buy any necessary products for farming.
Also some farmers are not able to buy some expensive
machines for farming for that any farmers who has the machine they
give it on rent or sell it at beneficiary price for both sides. Farmers can
also share their information with each other here

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

3.3 Planning and Scheduling

Figure 3.3.1Ganttt Chart

In this project we are using waterfall model. Water fall model is used to
implement every phase of system requirements.

Figure 3.3.2 Waterfall Model

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

1. Requirements –
In this phase, there should be a proper definition of the
requirements from the user as well as the developer side.
The user want to view the latest advertisements of the products
on the home page of the application. The user also wants to upload the
product ads through a separate tab.
The developer will need an API so that he can fulfil the user
requirements. The developer will also need the database requirements
connection with the application and server.
There will be a login page to check where the user is authenticated
and it is connected with the application after a successful login.

2. Design –
The developer would decide the user interface of the application
as they might require it to be in a specific theme. For fundamental purpose, we
have created a UI as per the customer point of view. The farmer would need to
upload the images of the products which will be there on the home page for
the products selection.

3. Implementation –
This phase is essential for further iteration phase, and it will help
to forward another execution of the application. We provide the application
which main features such as the uploading the product ads, searching the
required product, buying the product by selecting it.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

3.4 Software and Hardware Requirement :-

Operating System Windows 7/8/8.1/10

Browser Internet Explorer/Google Chrome

Server Apache Tomcat server

Programming Language Java

User Interface HTML,CSS

Web Application JDBC,Servlet

IDE Netbeans v8.1

Database Oracle

Hard Disk Drive 500GB

Processor 1.8GHz

RAM 1GB or more

Table 3 : Software and hardware requirements

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

Chapter 4 : System Design

4.1 Basic Modules

Figure 4.1.1 Basic modules of the application

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

4.2 Data Design (Table Design) :-


4.2.1 Schema Design –

Figure 4.2.1 Schema Design

4.2.2 Data Integrity and Constraints -

User Database –
{ “User ID” : String,
“Name” : String,
“Email ID” : String,
“Phone Number” : Long,
“Address” : String,
“ImageURI” : String
}

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

Product Database –
{ “Product ID” : String,
“User ID” : String,
“Details” : String,
“Brand” : String,
“Quantity” : Int,
“Price” : Int,
“ImageURI” : String
}
Order Database –
{ “Order ID” : String,
“Product ID” : String,
“User ID” : String,
“Address” : String,
“ImageURI” : String
}

4.3 Diagrams :-
4.3.1 E-R Diagram –

Figure 4.3.1 ER Diagram

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

4.3.2 Class Diagram -

Figure 4.3.2 Class Diagram

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

4.3.3 Use Case Diagram -

Figure 4.3.3 Use Case Diagram

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

4.3.4 Sequence Diagram -

Figure 4.3.4 Sequence Diagram

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

4.3.5 Activity Diagram -

Figure 4.3.5 Activity Diagram

4.3.6 Component Diagram -

Figure 4.3.6 Component Diagram

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

4.3.7 Menu Tree -

Figure 4.3.7 Menu Tree

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

4.3.8 Event Table -


Sr.no Events Trigger Source Activity Response Destination
1. Search Request for User Request Requested Website
required ads Ads will
product appear
2. Upload Add User Upload Ad Firebase
product ad uploaded
information
3. Delete Delete or User Ad will be Deleting Website
or Edit edit removed or and
product ad or edited editing Firebase
4. Order Placing the User Order will Ordering Firebase
order be placed
5. Delete Deleting User Deleteing Order wil Website
Order placed be and
order canceled Firebase
6. Payment Making User Payment Payment Website
payment will be
done
Table 4 : Event Table

4.3.9 User Interface Design :-

Figure 4.3.9.1 Home Page Figure 4.3.9.2 Upload Page

Figure 4.3.9.3 Other Functions Figure 4.3.9.4 Account Details Page

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

Figure 4.3.9.5 Any Product Ad Page Figure 4.3.9.6 Login Page

4.3.10 Security Issues :-

Internet security threats are methods of abusing web technology


to the detriment of a web site, its users, or even the internet at large. They
arise from web sites that are misconfigured, that were inadvertently
programmed with vulnerabilities, or that rely on components that are
themselves vulnerable.

There can be some real world attacks :-

1. Computer Viruses

Computer viruses have been in the news latelythe world this year.
Those are instances of virus attacks on a global scale, but viruses can pose just
a big of a threat to smaller companies. Viruses can corrupt your files and delete
valuable data, negatively impacting your daily operations. At their worst,
viruses have the potential to wipe clean your entire hard drive. As such, it’s
important to advise your staff to never open an email or click on a link they
don’t recognize.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

2. Software Vulnerabilities Pose Network Security Risks

When a security update pops up in the midst of a busy day, it’s


easy click out of it and then forget to come back to it later. But if you’re not
updating your software as regularly as you should, you could be putting your
company at risk. Outdated software can eventually slow you’re entire network
down to the point where you can’t get work done. It could cause your site to
crash, and while it’s down, you could be losing customers. If you’re an
entrepreneur or small business, that could be a major issue.

3. Hackers

We often think of networks security risks as things that live in our


computers. But computer hackers can cause devastating damage from
anywhere. Once hackers break into your system, they have free rein. They can
steal files, gain access to privileged information or expose trade secrets for your
competitors and the world to see.

Hackers may be on the other side of the planet, but if you value
your network security, they shouldn’t be out of your mind.

4. Employees Can Breach Security Without Realizing It

Even the most trustworthy employees can pose a threat to your


network security. It’s not intentional, but a lack of education about best
security practices can put your company in a vulnerable position.

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

4.3.11 Test Cases Design :-

Inspection Check Pre-Condition Test Data Priority

Login Modules User should be User details which will Medium


able to register be stored in database
and Login through
registered email id
and password

Upload Module User should be Product details along High


able to upload the with an image which
product ad by will be stored into
giving the details database and the ad
should be displayed
on respective pages

Search Module User should be The ad pages should High


able to search the get refreshed and
required product should the required
by certain product ads
keywords

Communication User should be User should get the Medium


Module able to contact contact number
with the seller by through which he can
the calling or contact the seller
messaging option

Order Module User should be Order details should High


able to place order be stored in database
as well as delete it as well should get
retrieve on request

Payment Module User should be Payments details High


able to make should get appeared
payment on the screen

Table 5 : Test Case Design

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

References :-
https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.your
articlelibrary.com/agriculture/10-major-agricultural-problems-of-india-and-
their-possible-
solutions/20988&ved=2ahUKEwjn3pqzlMPtAhWqzjgGHWjyAwcQFjAJegQIJxAB
&usg=AOvVaw26u1MisCaIgX1yEEazDkZ-

https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.syng
enta.com/en/innovation-agriculture/challenges-modern-
agriculture&ved=2ahUKEwjn3pqzlMPtAhWqzjgGHWjyAwcQFjAKegQIMRAB&u
sg=AOvVaw3woQpEXhCc_QIqUDSbAoMz

https://www.google.com/url?sa=t&source=web&rct=j&url=http://eagri.org/ea
gri50/AECO342/lec16.pdf&ved=2ahUKEwjUopPhxsDtAhVUzzgGHZM0BG8QFjA
BegQIAhAB&usg=AOvVaw30CCWMiVNIaUcc8NlnCVcP

Bibliography :-

https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.down
toearth.org.in/news/project-for-farmers-
24379&ved=2ahUKEwjSormBr8PtAhU9yzgGHQcvA9wQFjAPegQIARAB&usg=A
OvVaw2p26j1XrX17OjAVz6jev01

https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.resea
rchgate.net/publication/267156522_Agricultural_Project_Planning_and_Analy
sis_A_Sourcebook_Second_edition_Edited_by_P_Anandajayasekeram_CJ_Van
_Rooyen_F_Liebenberg_Emblems_in_the_following_order_UP_University&ve
d=2ahUKEwj37Zqbr8PtAhWWyzgGHSCbAqMQFjAAegQIBBAC&usg=AOvVaw0E
uBDFI-QAp_3gPs9aKhY-

Website Used :-
https://netbeans.org/ - For learning the Netbeans development using java

https://firebase.google.com/ - For connecting the application to the server


and database(firebase)

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)


lOMoARcPSD|16993236

Summary :-

The cultivation of crops requires a lot of products. The products


are mostly sold to the farmers by the middle man. In theis transaction the
middle man earn a lot of profit. The farmer buys the product with a much
higher rate. Also after successfully cultivating the crop the farmer has to sell it
through some middle man. This process of buying and selling is more
profitable to the middle man than to farmer.

Our website tends to helps farmers in buying and selling those


things without the need of the middle. The farmer can check for the product
on the website and buy it at a much cheaper rate than the middle man. Also he
can upload his cultivation or some other products and sell them at a higher
price.

Also there is a special section into which farmers as well


agricultural researches can upload their research and information about new
type of farming or irrigation pattern, etc. Also every one can contribute to each
other by passing the information.

Plagiarism Report :-

Downloaded by Adarsh Reddy (adarshreddy843@gmail.com)

You might also like