Software Developer – Backend & Full-Stack at FarmerShop Tech India Private Limited (2023-05 – Present)
Developed and maintained a production-grade Agri-commerce platform serving Super Admin, State/Region Admins, Stores, Warehouses, Vendors, Suppliers, Customers, Employees, and Drivers.
- Designed the end-to-end stock flow: Supplier → Warehouse (challan/barcode scan) → Store → Customer, including Mongoose models for StockRequest, Challan, and WarehouseInventory.
- Built barcode scan-and-receive flow for warehouse employees with geospatial store finder using MongoDB 2dsphere indexes.
- Created packet creation workflow that converts offline warehouse stock into online-sellable variants.
- Authored challan API enrichment and resolved sparse index issues for optional Aadhaar ID fields.
- Built coupon lifecycle engine (draft → scheduled → published) with RabbitMQ for scheduled activation and auto-expiry.
- Implemented per-user redemption tracking and discount unification in Mongoose schema; removed legacy fields during a schema cleanup sprint.
- Integrated Aradhya coins system: 1 coin per ₹250+ order for customers and employees, redeemable online and offline.
- Designed role-gated approval flow: store/vendor coupons require admin approval; admin-created coupons bypass approval.
- Implemented Socket.IO notification pipeline for employee creation, request approve/decline/reopen events.
- Shipped interim polling fallback when WebSocket message delivery was inconsistent; later integrated proper acknowledgement-based blue-tick delivery status.
- Optimized chat loading from 10–30 s to near-instant by paginating history (last 1–3 messages first, scroll-up pagination).
- Embedded Power BI dashboards with JWT bearer auth and X-API-Key fallback; implemented role-based data filtering via backend aggregation.
- Built store customization module with MongoDB nested subdocuments per section (header, hero banner, product grid) and a draft/active/archived state machine with partial unique index per store.
- Created holiday management system (state-scoped, multi-admin select, advance scheduling) and attendance clock-in/out with duplicate-free daily card logic.
- Built admin login pages in Cloudscape Design System, stock management dashboard, requests dashboard, and offer management UI with approval workflow.
- Created sequence diagrams for coupon system, vendor stock flow, and supplier-warehouse-store pipeline used in team documentation.