db_report[1] (2)
db_report[1] (2)
We would like to express our heartfelt gratitude to Dr. Deepak Raskar, our esteemed
mentor and guide, for his invaluable support, encouragement, and guidance throughout the
development of our mini-project, Farm Trade System. His expert insights and constructive
feedback have been instrumental in shaping this project and enhancing our learning
experience.
We also extend our gratitude to Amity University Mumbai for providing us with the
resources and a conducive environment to undertake this project.
A special thanks to my project partner, Jahnvi Srivastava, for her collaboration, dedication,
and contributions, which made this project a truly enriching experience.
We are deeply grateful for the technological tools that facilitated our development
process, including GitHub for version control and collaborative coding, Google for its
comprehensive resources and documentation, ChatGPT for providing insightful guidance,
Visual Studio
Code (VS Code) for its efficient code editing features, and XAMPP for offering a reliable
local server environment.
Finally, we acknowledge and appreciate the support and encouragement of my senior,
family and friends, without whom this project would not have been possible.
Thank you.
Sincerely,
Khurram Rashid
INDEX
Sr. no. Chapter Name Page No.
1 Introduction 1
1.1OBJECTIVES
1.2LIMITATIONS
2 STUDY OF EXISTING SYSTEM 2
2.1Case Study
2.2Proposed System
3 DATABASE DESIGN 3–9
3.1Software & Hardware Requirements
Specification
3.2CONCEPTUAL DESIGN(E-R & Schema Diagram
3.3 Implementation
INTRODUCTION
1.1 Objectives:
•To design and develop a user-friendly system.
•To create an efficient computerized system that eliminates data redundancy.
•To study the functioning of the Farm Trade System.
•To build a fast, accurate, and flexible system with a good user interface.
•To ensure the system can be used for a long time without errors
and minimal maintenance.
•To provide a synchronized and centralized database for farmers and sellers.
•To save time and money through computerization.
•To provide a better Graphical User Interface (GUI).
•To reduce chances of information leakage.
•To enhance data security using login and password mechanisms.
•To enable immediate storage and retrieval of data and information.
•To improve coordination among farmers.
•To reduce overall losses.
1.2 Limitations:
1
DBMS MINI PROJECT
FARM TRADE 2024-25
SYSTEM
CHAPTER 2:
2
DBMS MINI PROJECT
FARM TRADE 2024-25
SYSTEM
3
DBMS MINI PROJECT
FARM TRADE 2024-25
SYSTEM
3.2 CONCEPTUAL DESIGN
3.2.1 E-R DIAGRAM
sd
id
trig trigers
1
action limestamp
username email
pid
pr
AddAgroProducts
productdesc productname
username
fid
n Can insert
Farming
user
m farmingtype
password
email
aadharnumber
rid
address
Can add farmername
Register
farming
gender
age
phonenumber
4
DBMS MINI PROJECT
FARM TRADE 2024-25
SYSTEM
3.2.2 SCHEMA DIAGRAM:
USER
REGISTER
FARMING
fi farmingty
d pe
ADDAGROPRODUCTS
TRIG
5
DBMS MINI PROJECT
FARM TRADE 2024-25
SYSTEM
The backend is built using MySQL, a reliable Database
Management System (DBMS) that handles large structured
datasets efficiently. Python is used for scripting and Flask for
the web framework. MySQL ensures
data security, prevents unauthorized access, and maintains
data integrity through features like ACID compliance, unique
indexing, and triggers for updates, insertions, and deletions.
Flask, a lightweight and flexible web framework, simplifies the
integration of backend functionality with the frontend.
3. 3 Implementation
The system employs Python for backend development, MySQL for
database management, and Flask as the web framework. It
comprises modules for user authentication, crop and product
management, and secure database operations. The frontend,
developed using HTML,
CSS, and JavaScript, is enhanced with Bootstrap for responsive
design and compatibility across devices.
7
DBMS MINI PROJECT
FARM TRADE 2024-25
SYSTEM
o CRUD Operations: Create, Read, Update, and
Delete operations are implemented to manage
database entities.
o User Authentication: Includes secure login,
session management, and role-based access
control.
o Validation and Error Handling: Validates user
inputs to prevent SQL injection and other
vulnerabilities.
8
DBMS MINI PROJECT
FARM TRADE 2024-25
SYSTEM
2. Scalability:
o The modular design of both the backend and
frontend allows easy addition of new functionalities.
9
DBMS MINI PROJECT
FARM TRADE 2024-25
SYSTEM
o The database schema supports future expansions,
such as analytics dashboards or advanced
reporting.
3. Error Monitoring and Logging:
o Logs are maintained for debugging and
monitoring application health.
o Flask’s built-in debugging tools aid developers
during development.
This architecture is robust, ensuring high performance,
security, and scalability for agricultural and related
applications.
1
0
DBMS MINI PROJECT
FARM TRADE 2024-25
SYSTEM
4- ScreenShots
10
DBMS MINI PROJECT
FARM TRADE 2024-25
SYSTEM
11
DBMS MINI PROJECT
FARM TRADE 2024-25
SYSTEM
12
DBMS MINI PROJECT
FARM TRADE 2024-25
SYSTEM
5 . Conclusion
The Farm Management System effectively bridges the gap between
technology and agriculture, offering a streamlined approach to managing
farm operations. By simplifying complex tasks, enhancing productivity,
and enabling data-driven decision- making, it serves as a vital tool for
fostering digital transformation in the agricultural sector.
Future Enhancements
1. Integration with IoT Devices: Incorporating Internet of Things (IoT)
devices for real-time monitoring of soil health, weather conditions,
and equipment performance.
2. Advanced Analytics: Leveraging predictive analytics and machine
learning to forecast crop yields, detect diseases early, and
optimize resource allocation.
3. Mobile Application Development: Creating a user-friendly mobile
app to ensure greater accessibility for farmers, even in remote
areas.
4. Multi-Language Support: Adding support for regional languages to
improve usability and accessibility for farmers in rural areas.
References
1. Official MySQL Documentation: Comprehensive reference for
database design and management.
2. Flask Framework Documentation: Detailed guide for developing
scalable and robust web applications.
3. Bootstrap Documentation: Resource for designing responsive and
visually appealing interfaces.
4. Agricultural Case Studies and Reports: Insights into real-world
applications and challenges in agriculture.
5. GitHub Open Source Resources: Repositories and tools for
accelerating project development.
6. ChatGPT: Assistance in ideation, troubleshooting, and
refining project concepts.
7. Google: Research and discovery of relevant tools, APIs, and best practices.
13