A comprehensive farm management system backend for Green Shadow Farm, providing robust APIs for managing farm operations, resources, and tracking agricultural activities.
Green Shadow Farm Management System is a specialized backend service designed to streamline and automate farm management processes. The system provides comprehensive APIs for managing various aspects of farm operations, from crop management to equipment tracking.
-
Authentication System
- User registration and login
- JWT-based authentication
- Refresh token mechanism for sustained sessions
-
Resource Management
- Crop management with image storage
- Vehicle tracking and maintenance
- Staff records and management
- Equipment inventory
- Field management with dual image support
-
Activity Logging
- Comprehensive logging system
- Tracks field operations
- Records crop activities
- Monitors staff assignments
- Maintains historical data
Ensure you have the following installed:
- Java 17 or higher
- MySQL 8.0 or higher
- Gradle
- Your preferred IDE (IntelliJ IDEA recommended)
-
Clone the repository:
git clone https://github.com/malintha-induwara/green-shadow-backend.git
-
Configure MySQL database:
spring.datasource.url=jdbc:mysql://localhost:3306/green_shadow_db spring.datasource.username=your_username spring.datasource.password=your_password
-
Build the project:
gradle build
-
Run the application:
gradle bootRun
The ER diagram for the Green Shadow Farm Management System can be found here: View ER Diagram
The class diagram showing the system's architecture and relationships can be found here: View Class Diagram
Detailed API documentation is available through Postman: View API Documentation
The frontend repository for this project can be found here: Green Shadow Frontend
This project is licensed under the MIT License - see the LICENSE file for details.