Skip to content

NimnaOfficial/SmartCropSupplyManagementSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌱 Smart Crop Supply Management System

Enterprise Application Development (EAD) Project

Academic Desktop Application



📌 Project Overview

The Smart Crop Supply Management System is a Java-based desktop application developed as part of the Enterprise Application Development (EAD) module. The system digitalizes crop supply operations by connecting officers, farmers, and buyers through a centralized management platform.

It enables efficient farmer registration, crop handling, supply preparation, inventory management, invoice generation, and reporting using a modern UI and a relational database.


✨ Key Features

  • Role-based authentication (Admin, Officer, Buyer)
  • Secure login and registration system
  • Farmer and crop management
  • Supply preparation and inventory tracking
  • Buyer request and invoice management
  • JasperReports integration (PDF reports)
  • Modern dark-themed UI using FlatLaf
  • MySQL database integration via JDBC

🛠️ Technology Stack

Category Technology
Programming Language Java (JDK 21)
UI Framework Java Swing
Layout Manager MigLayout
Look & Feel FlatLaf (Dark)
Database MySQL (phpMyAdmin)
Database Connectivity JDBC
Reporting Tool JasperReports
JAR to EXE Convertion Launch 4j

🏗️ System Architecture

  • Presentation Layer: Java Swing UI
  • Business Logic Layer: Java Controllers & Managers
  • Data Access Layer: JDBC + MySQL
  • Reporting Layer: JasperReports (PDF Export)

⚙️ Installation Guide

  1. Clone the GitHub repository to your local machine.
  2. Install MySQL Server and phpMyAdmin.
  3. Create a new database for the system.
  4. Import the provided SYSTEM_DATABASE.sql create database named ead_cw and import file.
  5. Configure database credentials in the DB connection class.
  6. Project Default MySQL port is 3307.
    If had any issue , use this edition:-> SmartCrop-v1.0.1 [3306]
  7. Generated reports will be exported to: C:/reports/
    (The folder is created automatically if it does not exist.)

▶️ How to Run the Application

Run using JAR file:

java -jar SmartCrop-v1.0.1.jar

OR run from IDE:

  • Open the project in IntelliJ IDEA / NetBeans / Eclipse
  • Set the main class
  • Run the application

👥 User Roles & Responsibilities

Role Description
Admin Manages system users, configurations, and overall monitoring
Officer Handles farmers, crops, supply preparation, inventory, and reports
Buyer Requests crops, views invoices, and checks supply status

📊 Reporting Module

  • Farmer Report
  • Crop Report
  • Supply & Inventory Report
  • Invoice Report (PDF)

Reports are generated using JasperReports and exported as PDF files.


🚀 Future Enhancements

  • Advanced analytics dashboards
  • Email and notification system
  • PDF export support
  • Improved security and validation
  • Web-based and mobile versions

🗝️ Default Login Credentials

  • ADMIN → username: admin | password: 1234
  • OFFICER → username: officer | password: 1234
  • BUYER → username: buyer | password: 1234

📄 License

This project is licensed under the MIT License.
See the LICENSE file for details.


© 2026 Smart Crop Supply Management System
Developed by KGL Sandanimne
For Educational & Academic Purposes

About

Smart Crop Supply Management System is a Java desktop application for managing farmers, crops, inventory, buyer requests, and reports using a role-based system with MySQL integration.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages