DEV Community

Aniket Dubey
Aniket Dubey

Posted on

How I Built KisanX β€” A Farmer-to-Consumer Marketplace with MERN Stack 🌾

The Problem Nobody Was Solving πŸ€”

In India, farmers sell their crops to middlemen at very low prices.
The middlemen then sell it to consumers at 3–4x the price.
The farmer suffers. The consumer overpays. The middleman wins.

My classmate and I thought what if we just cut the middleman out?

That idea became KisanX.

v1 β€” Starting with PHP & MySQL

We started simple. A basic web app where:

  • Farmers could list their produce with price & quantity
  • Consumers could browse and place orders
  • Admin could manage listings

Stack: PHP + MySQL + Bootstrap

It worked. But it felt clunky on mobile, hard to scale,
and the UI wasn't great.

We knew we had to rebuild it properly.

v2 β€” Going Full MERN Stack πŸš€

We rebuilt KisanX from scratch as a mobile application.

Tech Stack:

  • Frontend: React Native
  • Backend: Node.js + Express
  • Database: MongoDB
  • Auth: JWT

Key features we built:

  • Farmer registration & produce listing
  • Consumer browsing with filters (location, crop type, price)
  • Direct order placement
  • Real-time order status updates

The jump from PHP to MERN was challenging but worth it.
MongoDB's flexible schema fit perfectly for our use case
different crops have different attributes.

Presenting at Avishkar Convention πŸ†

We got the chance to present KisanX at the
Avishkar Inter-Collegiate Research Convention
organized under University of Mumbai.

Explaining the real-world impact of the project to judges
was a completely different challenge than building it.
We learned how to pitch, how to answer tough questions,
and how to present technical work to non-technical people.

10/10 experience. Would recommend every student to participate.

What I Learned

Starting simple (PHP) and then scaling up is totally valid
Real-world problems make the best project ideas
Presenting your work is as important as building it
MongoDB + Express + React Native = powerful combo for marketplaces

What's Next for KisanX

Payment gateway integration (Razorpay)
GPS-based farmer discovery
Multilingual support (Hindi, Marathi)
Maybe an open source release πŸ‘€

Let's Connect!

If you're building something in the agri-tech space,
or just want to talk MERN stack β€” let's connect!

🌐 Portfolio: https://www.aniketdubey.in/
πŸ™ GitHub: https://github.com/Anniix

Thanks for reading! If you found this useful, drop a ❀️*

Top comments (0)