Professional Documents
Culture Documents
Assignement 2 Final
Assignement 2 Final
ASSIGNMENT 2
Project Based Learning (PBL) with Purpose Learning
I declare that:
I understand what is meant by plagiarism.
The implications of plagiarism have been explained to us by our lecturer.
This project is all our work and I have acknowledged any use of the published or unpublished
works of other people.
Name Student ID
2. Objectives................................................................................................................................1
Registration..............................................................................................................................4
Login........................................................................................................................................6
Weather updates.......................................................................................................................8
4. Class Diagram........................................................................................................................11
6. Test Plan.................................................................................................................................20
Bug Report.............................................................................................................................23
7. Sequence Diagram.................................................................................................................30
Creating a post.......................................................................................................................31
8. Activity Diagram...................................................................................................................33
Major Strengths.....................................................................................................................37
Major Weakness.....................................................................................................................37
11. Group Analysis..................................................................................................................40
13. Reference...........................................................................................................................43
1. Introduction
Nepal, although rich in water resources with multiple rivers and streams running across its
landscape, presents significant barriers to irrigation due to multiple factors such as diversified
topography, seasonal difficulty of rainfall, poor infrastructure, and water management issues.
Addressing these difficulties needs a collaborative effort by government agencies,
policymakers, farmers, and other stakeholders to promote sustainable irrigation methods,
improve water resource management, and increase agricultural output for the benefit of rural
communities. So, our aqua fam project has created a website that will educate and empower
farmers in response to these issues. This website is a simple online platform where farmers can
access helpful blog components, receive local weather information, and learn about valuable
smart irrigation technologies. We also aim to encourage farmers to adopt eco-friendly materials.
Also, we believe in connecting farmers with experts online, making it easier for them to seek
help. The platform will provide literate farmers with the required information, skills, and
professional advice to help them overcome the issues created by insufficient irrigation. Our
website hopes to fill the information gap by offering real-time weather reports and adding
modern agriculture. With this effort, we hope to improve the lives of Nepal's rural people while
also supporting the country's agriculture's long-term development of cultural technologies,
which will improve the durability and efficiency of Nepal's agricultural sector.
2. Objectives
The objectives of our project are as follows:
1
3. Use Case Diagram
2
3.2.Modified use Case Diagram
3
In this modified use case diagram. Three additional use cases have added:
The View Feed use case allows users to view content shared by Admin on the
platform. This includes updates, photos, and videos posted by Admin. The modified
diagram contains interaction features as new use cases.
o Like News Feed-Use Case: This Like News Feed use case allows user to like
the new feed posted by the admin.
o Comment News Feed-Use Case: This comment News Feed use case allows
user to do multiple comment on the new feed posted by admin.
Profile use case previously had only view features. Now profile contains another use
case:
o Edit Profile-Use Case: This allows both Admin and Users to edit their profile
which contains adding change email and password etc.
Registration
4
If the email address that registration for manual
information is is already review or temporarily
valid, the associated with an suspend the account until
system creates existing account, further verification is
a new account the system notifies completed.
for the user. the user that the
Once verified, email is already in
the registration use and prompts
process is them to either log
complete, and in or recover their
the user can password.
log in to the The user either logs
platform. in with their
existing account or
initiates the
password recovery
process.
Description: This use case describes the process of a user creating a new account on the
platform.
Actor(s): User
Location(s): website
Status: Active
Priority: High
Assumption(s):
Postcondition(s):
Alternate Pathway(s):
Exception Pathway(s):
6
Login
Description: This use case describes the process of a registered user logging into the platform.
Actor(s): User
Status: Active
Priority: High
Assumption(s):
7
The user has already registered an account on the platform.
The user remembers their login credentials (username/email and password).
Precondition(s):
Postcondition(s):
The user is logged into their account and gains access to platform features.
Weather updates
9
Description: This use case describes the process of a user accessing weather updates for a
specific location.
Author(s): Development
Actor(s): User
Status: Active
Priority: Medium
Assumption(s):
The user receives accurate weather updates for the specified location.
Primary (Happy) Path:
Alternate Pathway(s):
If the specified location is not found: System prompts the user to enter a valid location.
If there is a delay in retrieving weather data:
System informs the user to try again later.
If the user requests weather updates for their current location: System utilizes
geolocation services to determine the user's current location automatically.
Exception Pathway(s):
10
If there is a technical issue with the weather service:
The system displays an error message indicating temporary unavailability.
If the weather data is incomplete or unavailable for the specified location: The system
notifies the user about the issue and suggests alternative methods for obtaining weather
information.
If the system detects unusual activity or potential misuse: The system may restrict
access to weather updates for the user.
4. Class Diagram
11
4.2.Modified Class Diagrams
User: The User class represents a user of the system. It includes attributes such as id, name, and
email. These attributes store information about the user. It has one to many relation with the class
‘Education’ and “market place” many to one relations with the class “admin”.
12
Weather Data: The Real-time Weather Data class is responsible for providing detail information
about the current weather conditions. It includes attributes like temperature, humidity,
precipitation ,windspeed.
Admin: The admin class represents an administrator of the system. It includes attributes such as
id, name, and email to store information about the administrator. It has many to many relations
with the class ‘User’, ‘marketplace’.
Education: The Educations class is responsible for providing the education content to the users.
It includes attributes like blogs and post. It has many to one relation with the “users “and
“admin”.
Marketplace : The marketplace is responsible for display the products to the users. It includes
attributes such as product-id, product-name ,product-details. It has many to one relations with the
admin and users.
13
5. Interface Design Proposal
Interface of our farmers media application is simple user friendly. The login page is the entry
point of our web application which is first displayed. After that new users can register and
become a member of the application. We have implemented new and better technologies
making our web app performance oriented yet simple to use.
For creating posts, admin is responsible and has a create post section which can be used to
create posts for all users at once, which can be seen in the dashboard of the admin panel.
Normal users will have feed on their dashboard where they can see all the post created by the
admin. Along with that, they also have a weather card to check the temperature without going
to the detailed weather section. Other sections include, Detailed weather Info, marketplace,
farmers media events, contact professionals. These sections make our application unique and
useful. We also have a dark and light theme mode which allows users choose theme
themselves. Users can also interact with each other using comments features. We also have
user edit section and profile feed.
These interfaces demonstrate our focus on user-friendliness, security, and efficiency within
the farmers social media application.
14
Figure 6 -contain sections.
15
Figure 8-marketplace.
16
Figure 10- showing comments posted by users.
17
Figure 12- profile sections.
18
Figure 14-dashboard to push content.
19
6. Test Plan
Successful User User can Access the The system should redirect the
Registration successfully registration user to a confirmation page or
register on page of the the user's dashboard,
the system. system. indicating that the registration
process was successful.
Fill in all
required fields
with valid
information
(e.g., username,
Registration
email,
password).
Submit the
registration
form.
20
Unsuccessful User when a user Access the The system should
Registration (Existing tries to registration display an error
register with page of the message indicating that
Username) system.
a username the chosen username is
that already Fill in all already in use and
exists in the required fields, prompt the user to
system. including a choose a different one.
username that is
already
registered by
another user.
Submit the
registration
form.
21
login button. successful.
Unsuccessful User checks how the Access the login The system
Login (Invalid system handles page of the should display
login attempts system. an error
Credentials)
with invalid message
Enter invalid
credentials. indicating that
credentials
the provided
(either incorrect
credentials are
username/email
incorrect and
or password).
prompt the user
Click on the to enter valid
login button. credentials.
22
required
fields (such
as title,
content,
category,
etc.).
Click on the
"Push Post"
or
equivalent
button.
Bug Report
ID number FM01
23
Reporter Gaurav
URL http://localhost:3000/admin
Screenshot
https://imgur.com/a/rSFRIUf
Platform Windows
Severity Major
Priority High
Description
24
● Logged-in users were able to access admin route, leading to unauthorized access and
misuse. Admin route has been protected so only admin can access it.
Steps to reproduce
25
Alt texts were shown instead of image
ID number FM02
Reporter Pranisha
URL http://localhost:3000/dashboard
Screenshot
https://imgur.com/a/fOtJE7m
Platform Windows
26
Browser Chrome 9.0
Severity Major
Priority High
Description
● Posts are uploaded successfully but alt text were shown in dashboard. This had
occurred because public folder was not given access by the server using required
middleware.
Steps to reproduce.
27
Delete icon is present in different user’s comment.
ID number FM03
Reporter Ajay
URL http://localhost:3000/post/65feccfd8541d29d9d6d9e6d
Screenshot
https://imgur.com/a/yb0oOKs
Platform Windows
28
Browser Chrome 9.0
Severity Major
Priority High
Description
● Unauthorized users previously had the ability to remove comments from posts, which
presented a security risk and raised concerns about data integrity. We can fix this by
checking the logged user and then providing him authority to delete own comment.
Steps to reproduce
● Login in and go to a post.
● Comment in the post.
● Create another account and again add another comment.
Expected result
29
7. Sequence Diagram
Flow:
Admin
Admin requests for login with the admin email and password.
The smart irrigation system checks if the admin exists in the database or not.
User
30
The user request for registration with a username, Email, and password.
The smart irrigation system checks whether the user already exists with the same
credentials or not.
Depending on the user’s existence, the system shows user that “this user already exists”
message and suggest entering another username and email.
If the user is new, Smart irrigation system creates a user with same credentials inserted by
user and sends a registration successful message and redirects to login page.
Creating a post
Flow:
31
Requesting for weather data
Flow:
User Requests for the weather data of a particular place through smart irrigation system
Smart Irrigation System connect with weather API to collect the weather data of that
place.
Weather API provides the weather data of that place to smart irrigation system .
Smart irrigation system displays that data to the user in it own interface.
32
8. Activity Diagram
User signup
The figure of the signup activity diagram represents a flowchart depicting the process of a user
signup into a system, with subsequent steps depending on the validity of the provided credentials
and the success of authentication.
33
Figure 19 User Login Activity Diagram
Login
The figure of the login activity diagram represents a flowchart depicting the process of a user
logging into a system, with subsequent steps depending on the validity of the provided
credentials and the success of authentication.
34
Weather
35
9. State Chart Diagram
36
10.Design Rationale
Aqua Fam is a smart irrigation online platform that offers a user-friendly interface where farmers
can access helpful blog components, receive local weather information, and learn about valuable
smart irrigation technologies. It has some of strengths and weakness which are explained below:
Major Strengths
User-friendly interface: Aqua Fam offers a user-friendly interface that makes it simple
for users to move through the website. The login page guarantees secure access, and the
entire layout is simple to understand and visually appealing. It has involved designing a
visually appealing and easy-to-navigate interface that allows users to know the real-time
weather, comment, browse through the latest product etc.
Direct interactions between farmers and agricultural specialists: In our website,
agricultural specialists can work directly with farmers to assess their individual needs,
understand their current irrigation practices, and identify difficulties with water
management and crop cultivation. By getting this information through direct experiences,
experts can develop smart irrigation solutions to meet the unique requirements of
individual farmers or farming communities.
Major Weakness
Visual presentation of product only: Allowing farmers to have a look at the product
without the opportunity to purchase may cause dissatisfaction or disappointment.
Farmers may feel confused or irritated if they are unable to obtain the technologies
they wish to explore right away. This strategy may prevent farmers from further
participating in the project or considering the implementation of smart irrigation
technology entirely.
Absence of real-life chat system as we are in developing phase: The lack of a real-life
chat system throughout the development phase of a smart irrigation project can be a
significant obstacle. Farmers may struggle to receive instant support or provide timely
provide information in the absence of real-time communication channels, limiting
problem-solving efforts and possibly delaying project development. The lack of a chat
system additionally limits participant involvement and knowledge sharing, lowering the
37
project's collaborative potential and preventing the interchange of key thoughts and
experiences. Furthermore, the lack of accessible support may give a feeling of
inaccessibility or unresponsiveness on the part of the project team, destroying trust and
confidence in the project's effectiveness and trustworthiness.
Strength and Weak Analysis
Strengths Weakness
User friendly interface Allows you to have a look at the product but not buy.
Alternative Design
MOBILE APPLICATIONS
Initially, one alternative platform that was considered was as native mobile applications for
both Android and iOS devices were contemplated. These applications boasted unique features
such as improved performance and tailored functionality specifically optimized for the mobile
environment. However, after careful consideration, the idea of developing native mobile
applications was dismissed. Despite their advantages, this decision was influenced by factors
like affordability, universal accessibility, and concerns regarding licensing.
Ultimately, opting for a web-based platform proved to be the most pragmatic choice for the
Aqua Fam Project. This approach ensures that the platform can be accessed from any type of
device, thereby facilitating ease of use and accessibility for farmers seeking to enhance their
38
farming practices. Regardless of the device preference of individual users, the web-based
nature of the platform enables farmers to leverage its capabilities and resources to improve
their agricultural endeavors effectively.
Platform selection
Another alternative design matter noticed was adopting a progressive web application (PWA)
approach as an alternative design strategy. PWAs offer the enticing prospect of blending the
best features of both web and mobile applications, including offline functionality, push
notifications, and an app-like experience, all accessible through web browsers. However, the
decision to forgo PWAs in favor of maintaining a web-based platform likely stemmed from
several considerations. These may include concerns about compatibility with older devices or
browsers, the intricacies of development complexity, and the challenge of ensuring a seamless
transition for users accustomed to basic websites.
Furthermore, disadvantages associated with PWAs, such as higher development costs,
increased time investment, and potential hurdles in ensuring consistent functionality across
diverse devices and browsers, may have factored into the decision-making process. Despite
the allure of PWAs, the Aqua Fam Project prioritized the primary objective of providing users
with a convenient experience. This decision was made with careful consideration of the
diverse preferences and needs of users across various devices, ultimately opting for the web
platform to ensure ease of use, accessibility, and cost-effectiveness in delivering the project's
agricultural resources to farmers.
39
11.Group Analysis
Strength and Weakness of the Project Team
The team that worked on the program brought together individuals with diverse competencies,
which is very important for the execution of the project effectively. Each group member
possesses their computing skills, serving as a project manager, business analyst, and
developer, respectively, which are packed together. In this way, innovation and skillfulness are
obtained through a comprehensive strategy in which both technological and direct agricultural
knowledge are included to solve the farmer’s problems. Additionally, our group proved to be
talented in communication and collaboration which together secured an efficient coordination
and tracking process. The team’s commitment to creating a website to empower farmers
reflects a shared vision and dedication to making a positive impact on the agricultural sector.
However, weaknesses were also evident, particularly in terms of resource allocation and time
management. At times, there were challenges in balancing competing priorities and meeting
deadlines, leading to occasional delays in project milestones.
To manage these strengths and weaknesses effectively, we implemented several strategies.
Team meetings regularly and progress evaluations kept us on track with our goals and tasks,
alongside this, we also created an online platform where we could address any problem when
it arose, fostering a collaborative environment where all voices are heard, and contributions
are valued can help mitigate these challenges. Moreover, we promoted everyone on the team
to capitalize on their strong points and get help if anyone needed it. Learning to recognize
weaknesses and actively managing these with our strengths enhanced our capabilities and
proved our abilities to deliver a successful project.
Lesson Learned about Teamwork and Future Improvements
Our experience as team members is what made us the most interested in effective and result-
oriented teamwork and collaboration. We just understood how important the first stage was
when we were about to define and clarify the roles and responsibilities at the beginning and
avoid misunderstandings in the future. Ahead on the journey, we’ll make certain to emphasize
the clarifications of expectations and create a common ground for the synergy of efforts. Both
establishing appropriate time management approaches and balancing timelines with realistic
deadlines are going to be responsible for getting on time or even faster.
Additionally, communication, as well as evaluations, were the other points we highlighted as
essential for creating an ambiance characterized by honest and ongoing communication.
Through the emphasis on the exchange of team member’s thoughts and comments, we ended
up dealing with challenges at an earlier stage and producing iterative solutions one by one.
Bringing in the concept of growth and encouraging each team member to speak out laid the
40
background for developing the atmosphere, where innovation was the core element. As we
move ahead, we will still lay heavy emphasis on learning and development, and strongly
believe that the lessons we accumulated will help us maintain daily progress and boost our
team's overall performance.
41
5. AJAY
UPADHAYA
42
13.Reference
1.https://online.visualparadigm.com/w/zepckobr/drive/
#infoart:proj=0&dashboard
2. https://javascript.info/
3. https://www.scrum.org/resources/what-scrum-module
4. https://react.dev/
5. https://www.mongodb.com/
6. https://www.mongodb.com/
7. https://mongoosejs.com/
8. https://expressjs.com/
9. https://nodejs.org/docs/latest/api/
10. https://link.springer.com/chapter/10.1007/978-1-4471-0947-1_11
43