The HaciendaOps API allows users to view the existing “toolbox” of all tools available on the farm.
To start the instance, run the following command:
cd /HaciendaOps/api
json-server -w hfg-db.json
Open the Postman app on your computer.
/tool
Content-Type: application/json
{
"id": "1",
"name": "Machete",
"usage": "Clearing light brush manually",
"safety_notes": "Always sheath after use",
"training_required": false,
"kaizen_notes": "Preferred over sickle for zone clearing by Rosa"
},
{
"id": "2",
"name": "RFID Ear Tag Scanner",
"usage": "Identify and track goats in fenced areas",
"safety_notes": "Keep away from water; charge weekly",
"training_required": true,
"kaizen_notes": "Alex suggested waterproof case for rainy season"
}
You can now locate the full list of available tools in the HaciendaOps “toolbox.”