Farmer
Farmer
Farmer App
Saffar Subedi
12203212
Cqu university
Table of Figures
Prerequisites:
We should have Node.js and npm installed on our computer. If not, we can
download and install them from the official Node.js website:
(https://nodejs.org/).
Additionally, we should ensure MongoDB is installed and running. If not, we
can download it from (https://www.mongodb.com/).
Setup Steps:
1. Opening the terminal or command prompt.
2. Clone the Project Repository:
//bash
git clone : https://github.com/Safar123
cd farmer-app
3. Install Dependencies:
//bash
npm install
4. Ensure MongoDB is running in the device.
During the development process, our team encountered specific challenges that
required resolution. Here are some of the issues faced and the corresponding
solutions implemented:
In accordance with the project plan, our team diligently conducted a series of
tests on the application, focusing on minimal use cases for each testing strategy
to ensure efficiency given the time constraints. The results of our testing efforts
are detailed below, demonstrating the robustness and reliability of the
application.
1. Functionality Testing:
- Scenario: Verification of basic application functions.
- Result: All fundamental functionalities, including order creation, student
management, and data updates, performed seamlessly. No critical issues
were detected, indicating the application's stability and reliability.
3. Performance Testing:
- Scenario: Evaluation of application response time under normal load.
- Result: The application demonstrated impressive response times, with the
majority of requests processed within the expected duration. Although
certain complex database queries exhibited minor delays, overall
performance met acceptable standards. Future updates will further
optimize these queries for enhanced efficiency.
4. Security Testing:
- Scenario: Identification of potential security vulnerabilities and data
protection assessment.
- Result: Our rigorous security testing revealed no major vulnerabilities.
The application boasts robust security measures, including data
encryption and secure authentication protocols. Regular security updates
and continuous monitoring will be implemented to maintain a secure
environment.
5. Compatibility Testing:
- Scenario: Validation of compatibility across various web browsers and
devices.
- Result: The application underwent successful testing on popular web
browsers (Chrome, Firefox, Safari) and major devices, including
desktops, tablets, and smartphones. No notable display or functionality
issues were identified, ensuring a seamless user experience regardless of
the platform used.
6. Database Integrity Testing:
- Scenario: Confirmation of data consistency and integrity within the
database.
- Result: Data integrity tests confirmed the accuracy and reliability of the
application's database operations. All records were consistently stored,
retrieved, and updated without any anomalies or inconsistencies. The
robustness of the data management system ensures a reliable foundation
for the application.
The API server code has been successfully uploaded to GitHub. The
repository can be accessed at the following link:
https://github.com/Safar123/farmerAp
The API server code has been tested for vulnerabilities using Snyk.