GestFarm
Digital platform for managing sheep farm sales, inventory and expeditions with role-based access control
// At a glance
Problem
Sheep farms had no centralized system to manage inventory, sales, and shipments — tracking was manual and error-prone, especially with farmers, shippers, and admins all needing different levels of access.
Solution
Built a RESTful Farm Management API in Spring Boot (Java) with JWT authentication and Spring Security method-level access control across owner, manager, and read-only viewer roles, covering livestock inventory (batches, weight, health status), sales transactions, and expedition/shipment logistics, backed by MySQL. A React frontend adapts its navigation and data visibility to the authenticated user’s role.
// Key highlights
- →Role-based access control with owner/manager
- →read-only viewer roles enforced via Spring Security method-level annotations
- →Full livestock lifecycle tracking: individual animals
- →Sales and expedition pipeline
Overview
GestFarm digitizes the day-to-day operations of sheep farms: from livestock inventory through sales transactions and expedition logistics to financial reporting — all behind a role-gated interface.
Tech Stack
- Back-End: Spring Boot (Java)
- Front-End: React
- Database: MySQL
- Auth: JWT + Spring Security
Key Features
- Inventory management: Track individual animals, batches, weight records and health status
- Sales & transactions: Record sales with buyer info, quantities, prices and payment status
- Expedition logistics: Manage shipment schedules, destinations and delivery confirmations
- RBAC: Role-based access control — owner, manager, and read-only viewer roles with distinct permissions
- Reporting: Printable sales summaries and inventory snapshots
Architecture
The Spring Boot back-end exposes a REST API secured with JWT tokens and Spring Security method-level annotations. The React front-end adapts its navigation and data visibility according to the authenticated user's role, reducing surface area and preventing unauthorized mutations.