FarmConnectt
Connecting farmers and traders with Trust
Created on 11th February 2026
•
FarmConnectt
Connecting farmers and traders with Trust
The problem FarmConnectt solves
Farmers in India often struggle to sell their crops at fair prices due to the involvement of middlemen, lack of transparent market information, and unclear deal terms. Many farmers are unaware of current price trends and depend on local agents, which reduces their bargaining power. At the same time, traders face difficulties in directly reaching verified farmers and agreeing on crop quality, quantity, delivery timelines, and payment conditions.
The absence of a unified digital platform leads to misunderstandings, delayed payments, and disputes. Deals are usually based on verbal agreements, which creates trust issues for both farmers and traders. There is a clear need for a simple and transparent system that enables direct communication, clear agreements, and basic market insights.
Challenges we ran into
Syntax error in server startup: Node threw SyntaxError: Unexpected token '.' pointing at server.js. Diagnosis showed two app.use(...) lines accidentally placed inside the JSON returned by the /health route, breaking the JS object. Fix: moved app.use("/api/connections", ...) and app.use("/api/messages", ...) out of the route handler and with the other route registrations.
Debugging approach: Used the stack trace and opened server.js around the reported line; inspected surrounding code (health route) rather than assuming the line itself was wrong. Added a small console log and re-ran npm start after the fix to confirm startup succeeded.
Environment / runtime issues: Missing env vars (JWT, SMTP, Twilio) caused development friction. I added safe development defaults and clear console warnings so the server still runs locally but highlights production misconfiguration.
Technologies used