FarmerMart is a web-based platform designed to bridge the gap between certified contractors and farmers through contract farming. It enables farmers to gain market access, income stability, and transparency by automating farming agreements, ensuring real-time traceability, and integrating a built-in dispute resolution system.
- 👩🌾 Dual Interface: Separate dashboards for Farmers and Contractors for tailored interactions.
- 📋 Contract Farming Posts: Farmers can post crop details and farming requirements; contractors can browse and connect.
- 📊 Database Management: Efficient handling of user data using MongoDB, Mongoose, and Express.js.
- ⭐ Review System: Two-way feedback mechanism for trust building and continuous improvement.
- 🛡️ Secure & Transparent: Smart agreement flows with scope for integration with blockchain (planned).
| Layer | Technology |
|---|---|
| Frontend | React (Vite) + Tailwind CSS |
| Backend | Node.js + Express.js |
| Database | MongoDB with Mongoose |
| Tools | Git, GitHub for version control |
Follow these steps to set up the project locally:
git clone https://github.com/username/FarmerMart.git
cd FarmerMartInstall dependencies for both client and server:
cd client
npm install
cd ../server
npm installCreate a .env file inside the server directory and add:
MONGODB_URI=your-mongodb-connection-string
PORT=5000
From the root directory, run:
# Start frontend and backend together (if configured)
npm run devThe frontend runs on http://localhost:5173 and backend on http://localhost:5000
- 🌱 AI-based Crop Yield Prediction for better decision-making.
- 🔒 Blockchain Integration for secure and tamper-proof contracts.
- 🧠 AI-driven Dispute Resolution System to automate conflict handling.
- 📱 Progressive Web App (PWA) version for offline access.
We welcome contributions! Fork the repo, raise issues, and submit PRs to improve the platform.