Kissan Connect
Empowering Farmers, Connecting Consumers – A Direct Marketplace for Fair Trade!🚀🌱
Created on 9th March 2025
•
Kissan Connect
Empowering Farmers, Connecting Consumers – A Direct Marketplace for Fair Trade!🚀🌱
The problem Kissan Connect solves
This app bridges the gap between farmers and consumers by eliminating middlemen, ensuring fair pricing and direct market access for farmers. It empowers farmers to list products, manage orders, and track earnings, while consumers can browse, search, and order fresh produce directly from local farmers. The app enhances transparency, reduces costs, and improves farmer profits while providing consumers with high-quality, affordable goods. With real-time order management and multilingual support. By leveraging Firebase for authentication, Firestore for data management, and cloud storage for images, it ensures a secure and efficient marketplace.
Challenges we ran into
🚧 Challenges We Ran Into & How We Overcame Them
1️⃣ Firebase Firestore Permissions Issues
Problem: Initially, Firebase denied access when trying to read/write data because Firestore rules were too restrictive.
Solution: We carefully refined Firestore security rules so that farmers can only manage their own products, while consumers can browse all products but not modify them.
2️⃣ Orders Not Updating Properly
Problem: Farmers were unable to accept/reject orders due to permission issues.
Solution: We updated Firestore rules to allow only assigned farmers to update the status field while ensuring data integrity.
3️⃣ Real-Time Earnings Calculation Crash
Problem: The app crashed when trying to fetch accepted orders and calculate earnings.
Solution: Instead of fetching prices directly from the orders collection, we first fetched accepted order IDs and then retrieved prices from the products collection, resolving the issue.
4️⃣ Multilingual Support Implementation
Problem: Converting hardcoded strings to resource files (strings.xml) was time-consuming.
Solution: We generated a separate strings.xml file and added support for Hindi, ensuring easy localization for future languages.
5️⃣ UI/UX Enhancements & Clickable Components
Problem: Some UI components crashed the app due to incorrect clickable modifiers.
Solution: We redesigned the clickable elements, improved UI consistency, and added animations for a smoother experience.
Through debugging, testing, and refining, we successfully built a fully functional marketplace app!
Tracks Applied (3)
Electrothon winners
Best project submission on DevDock
Best Beginnner Hack
Technologies used
