Empowering Farmers | Transparent Trade | Sustainable Future
In India, intermediaries often prevent farmers from receiving fair compensation for their hard work.
FarmConnect is a web platform that directly connects farmers, wholesalers, and transporters, enabling transparent transactions that benefit everyone.
This system is designed to:
✅ Empower farmers to sell their produce directly.
✅ Provide wholesalers with easy access to quality crops.
✅ Enable transporters to bid competitively for delivery jobs.
Together, we simplify agriculture, promote fair trade, and build a recommendation model for government adoption. 🌍✨
- Farmers register and upload crop details.
- Wholesalers browse listed crops and make direct deals with farmers.
- Transporters bid on finalized deals to provide efficient delivery services.
A win-win solution for all stakeholders! 🎉
FarmConnect leverages cutting-edge technologies for scalability and performance:
- Frontend:
HTML,CSS,JavaScript - Backend:
Java Spring Boot,REST API,Thymleaf-(render HTML) - Database:
MongoDB
🔹 Seamless registration for farmers, wholesalers, and transporters.
🔹 Crop listing and search functionality for efficient matching.
🔹 Transporter bidding system for cost-effective logistics.
🔹 Transparent pricing to ensure farmers get what they deserve.
🔹 Clean and intuitive interface for ease of use.
Follow these steps to set up and run the project locally:
-
Prerequisites
- Install Java 23 (JDK 23).
- Install Maven (if not already available).
- Recommended IDE: IntelliJ IDEA (comes with Maven integration, no need to install Maven separately).
- Other IDEs: Require Maven to be installed locally.
-
Clone the Repository
git clone https://github.com/FlashAdking/FarmConnect.git cd FarmConnect -
Open in IDE
- Open the project in IntelliJ IDEA.
- Navigate to and open the
pom.xmlfile:WebApplication/pom.xml - In the top-right corner, click the Maven symbol.
- Select Reload/Download all dependencies.
- Wait until all errors in
pom.xmlare resolved. - Note: In the future, some dependencies may be deprecated or updated. That’s fine—warnings can be ignored as long as there are no errors.
-
Run the Application
-
Option A: From IntelliJ IDEA
- Open the main class:
WebApplication/src/main/java/com/FarmConnect/WebApplication/WebApplication.java - Click Run → Run 'WebApplication.java'.
- Open the main class:
-
Option B: From Command Line (requires Maven installed locally)
mvn spring-boot:run
-
-
Access the Application
- By default, the app runs at:
http://localhost:8080 - If the port is changed, check the application logs and replace
<PORT>accordingly:http://localhost:<PORT>
- By default, the app runs at: