AgriGo is a smart agriculture management desktop application built with Java, JavaFX, and MySQL. It provides a modern and intuitive interface to help manage agricultural operations such as crop tracking, task organization, and user administration.
AgriGo aims to digitalize and simplify farm management by offering a centralized system for agricultural operations.
The platform enables:
- 👤 User and admin management
- 🌾 Agricultural task tracking
- 📊 Interactive dashboards
- 🗄️ Persistent MySQL database integration
- 🖥️ Modern JavaFX user interface
The goal is to improve productivity, organization, and decision-making in agricultural environments.
- Secure login and registration system
- Profile management (update personal information)
- Role-based access (Admin / User)
- Session handling
- Create, update, and delete agricultural tasks
- Organize farming operations efficiently
- Track task progress and status
- Dedicated dashboards for Admin and Users
- Clean and intuitive JavaFX UI
- Quick access to key functionalities
- Overview of agricultural activities
- MySQL relational database
- Persistent data storage
- Structured DAO / Service layer architecture
- Efficient CRUD operations
- Java (JDK 17+)
- JavaFX
- FXML
- CSS Styling
- MySQL
- Maven
agrigo/
│
├── models/ # Data models
├── src/
│ ├── main/
│ │ ├── java/
│ │ │ ├── Controllers/ # UI Controllers (MVC)
│ │ │ ├── Entities/ # Domain entities
│ │ │ ├── Services/ # Business logic layer
│ │ │ ├── Utils/ # Helper & utility classes
│ │ │ └── Tests/ # Unit tests
│ │ │
│ │ └── resources/
│ │ ├── assets/ # Images & icons
│ │ ├── css/ # Stylesheets
│ │ └── *.fxml # JavaFX views
│
├── user-photos/ # Uploaded profile images
├── pom.xml # Maven configuration
└── README.md
git clone https://github.com/amalmanai/agrigo.git
cd agrigoCreate a database (e.g. agrigo) and update credentials:
String url = "jdbc:mysql://localhost:3306/agrigo";
String user = "root";
String password = "your_password";Make sure you have installed:
- Java JDK 17+
- Maven
- JavaFX SDK
- MySQL Server
Using Maven:
mvn clean install
mvn javafx:runOr run directly:
MainTFX.java
from your IDE.
AgriGo includes several JavaFX interfaces:
- 🔐 Login screen
- 📝 Registration screen
- 🧑💼 Admin dashboard
- 👨🌾 User dashboard
- ✏️ Profile management pages
All UI files are located in:
src/main/resources/
- 🔔 Real-time notifications system
- 📊 Advanced analytics dashboard
- 🌍 Multi-language support (FR/EN/AR)
- ☁️ Cloud database integration
- 📱 Mobile companion application
- 🔐 Enhanced security & encryption
Contributions are welcome and appreciated!
- Fork the repository
- Create a feature branch
- Commit your changes
- Push your branch
- Open a Pull Request
This project is licensed under the MIT License.
Developed by the AgriGo Team ❤️
🔗 Repository: https://github.com/amalmanai/agrigo