KRUSHIMITRA - AGRICULTURAL RESOURCE MARKETPLACE AND RENTAL MANAGEMENT PLATFORM
Agriculture forms the backbone of India’s rural economy, yet small and marginal farmers continue to face severe mechanization barriers due to high machinery ownership costs, informal verbal rental arrangements, double-booking conflicts, opaque pricing, and the absence of weather-aware scheduling. This paper presents the design, implementation, and verification of KrushiMitra—a modular cloud-based web application that unifies peer-to-peer (P2P) agricultural equipment rental, direct resource sales, structured price bargaining, real-time weather forecasting, multilingual accessibility, and a community knowledge forum. Engineered as a modular Python Flask monolith comprising 20 feature blueprints, 46 SQLAlchemy ORM models, 39 Jinja2 templates, and 34 JavaScript modules, the platform operates on MySQL and PostgreSQL with SQLite fallback and is deployed on Render via Gunicorn. Key architectural contributions include a six-bucket atomic inventory model (available, reserved, rented, maintenance, damaged, lost) paired with SQL date-overlap conflict detection; server-authoritative database-backed cart and checkout with HTTP 409 mixed-cart protection; dual-mode payment security combining HMAC-SHA256 verified Razorpay transactions and server-side hashed OTP challenges for Cash on Delivery (COD); a bounded universal bargaining engine with 80%–100% initial offer limits, alternating counteroffers, 48-hour inactivity expiry, and isolated offer checkout; and faceted structured-location search, deterministic 0–100 recommendation scoring, analytics dashboards with CSV/XLSX exports, and leader-locked smart alerts. Developed across four structured Agile sprints, the system achieves a 100% pass rate across 520 automated pytest regression tests (including 123 targeted advanced-feature tests) and is backed by a Computer Software Copyright filing with the Government of India (Diary No. SW-45959/2025-CO).Agriculture forms the backbone of India’s rural economy, yet small and marginal farmers continue to face severe mechanization barriers due to high machinery ownership costs, informal verbal rental arrangements, double-booking conflicts, opaque pricing, and the absence of weather-aware scheduling. This paper presents the design, implementation, and verification of KrushiMitra—a modular cloud-based web application that unifies peer-to-peer (P2P) agricultural equipment rental, direct resource sales, structured price bargaining, real-time weather forecasting, multilingual accessibility, and a community knowledge forum. Engineered as a modular Python Flask monolith comprising 20 feature blueprints, 46 SQLAlchemy ORM models, 39 Jinja2 templates, and 34 JavaScript modules, the platform operates on MySQL and PostgreSQL with SQLite fallback and is deployed on Render via Gunicorn. Key architectural contributions include a six-bucket atomic inventory model (available, reserved, rented, maintenance, damaged, lost) paired with SQL date-overlap conflict detection; server-authoritative database-backed cart and checkout with HTTP 409 mixed-cart protection; dual-mode payment security combining HMAC-SHA256 verified Razorpay transactions and server-side hashed OTP challenges for Cash on Delivery (COD); a bounded universal bargaining engine with 80%–100% initial offer limits, alternating counteroffers, 48-hour inactivity expiry, and isolated offer checkout; and faceted structured-location search, deterministic 0–100 recommendation scoring, analytics dashboards with CSV/XLSX exports, and leader-locked smart alerts. Developed across four structured Agile sprints, the system achieves a 100% pass rate across 520 automated pytest regression tests (including 123 targeted advanced-feature tests) and is backed by a Computer Software Copyright filing with the Government of India (Diary No. SW-45959/2025-CO).
Authors
- Suresh Kapare
- Chaitanya Gote
- Tejas Raykar
- Tanmay Gunjal
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-19
- DOI
- https://doi.org/10.5281/zenodo.24366166
- Primary Topic
- Mobile and Web Applications
- Type
- preprint