FarmLink is a modern Android application built using Jetpack Compose and Firebase, aimed at streamlining agricultural trade by directly connecting farmers with buyers. The app ensures transparent pricing, effortless product listing, and a seamless user experience tailored for both farmers and buyers.
🌾
FarmLink
- Login / Signup using phone number or email.
- Secure session management using Firebase Auth.
- Choose your role as a Farmer or Buyer after authentication.
- Tailored UI and functionality for each role.
- Home: View all your listed produce (image, name, price, description).
- Add Produce: Upload produce image and enter details like crop name, price, description.
- Orders (Coming Soon): Track and manage incoming orders from buyers.
- Profile: View and manage your personal information with logout functionality.
- Home: Browse all available produce listed by farmers.
- Each item displays image, name, price, description.
- Options to:
- Buy (via Razorpay - test mode).
- Chat with farmer (Coming Soon).
- Cart (Coming Soon): Manage added produce.
- Track Orders (Coming Soon): Track real-time order status.
- Profile: Similar to farmer profile, includes logout.
Category | Tech Used |
---|---|
Language | Kotlin |
UI Framework | Jetpack Compose |
Backend | Firebase (Auth, Firestore, Storage) |
Image Upload | Firebase Storage |
Payment Gateway | Razorpay (Test Mode) |
Architecture | MVVM + Clean Architecture |
Version Control | Git, GitHub |
/farmlink-app
├── screens/
│ ├── Farmer/
│ ├── Buyer/
│ └── Auth/
├── viewmodels/
├── data/
│ ├── models/
│ └── firebase/
├── components/
└── utils/
- Configured in Test Mode.
- On successful payment (mock), UI navigates to appropriate screen.
- Real-time transaction and cart features are under development.
- One-to-one chat between farmer and buyer using Firebase Realtime Database or Firestore.
- 🔁 Order Tracking
- 🛒 Add to Cart & Cart Management
- 💬 Chat System
- 📦 Order Management for Farmers
- 🧾 Real Razorpay Production Integration
- Clone this repo:
git clone https://github.com/Gopal0Gupta/FarmLink.git
- Open in Android Studio.
- Connect Firebase project and update
google-services.json
. - Add Razorpay API key in
strings.xml
. - Run on emulator or real device (API 26+ recommended).
Pull requests and suggestions are welcome! For major changes, please open an issue first to discuss what you would like to change.
- Gopal Gupta
📧 [email protected]
🔗 LinkedIn | GitHub