Skip to content

A Spring Boot-based backend system for Green Shadow Farm Management

License

Notifications You must be signed in to change notification settings

malintha-induwara/green-shadow-backend

Repository files navigation

Green Shadow Farm Management System Backend

A comprehensive farm management system backend for Green Shadow Farm, providing robust APIs for managing farm operations, resources, and tracking agricultural activities.

About The Project

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.

Key Features

  • 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

Technology Stack

SPRING

SPRING DATA JPA

HIBERNATE

GRADLE

MySQL

POSTMAN

JWT

Getting Started

Prerequisites

Ensure you have the following installed:

  • Java 17 or higher
  • MySQL 8.0 or higher
  • Gradle
  • Your preferred IDE (IntelliJ IDEA recommended)

Installation

  1. Clone the repository:

    git clone https://github.com/malintha-induwara/green-shadow-backend.git
  2. Configure MySQL database:

    spring.datasource.url=jdbc:mysql://localhost:3306/green_shadow_db
    spring.datasource.username=your_username
    spring.datasource.password=your_password
  3. Build the project:

    gradle build
  4. Run the application:

    gradle bootRun

Project Documentation

Database Design

The ER diagram for the Green Shadow Farm Management System can be found here: View ER Diagram

Class Structure

The class diagram showing the system's architecture and relationships can be found here: View Class Diagram

API Documentation

Detailed API documentation is available through Postman: View API Documentation

Frontend Repository

The frontend repository for this project can be found here: Green Shadow Frontend

License

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

About

A Spring Boot-based backend system for Green Shadow Farm Management

Topics

Resources

License

Stars

Watchers

Forks

Languages