The proposed portal aims to provide a comprehensive and integrated platform for farmers, offering a range of features and services to enhance their agricultural practices. It addresses the challenges faced by farmers who need to navigate multiple platforms for information and services related to schemes, land details, APMC markets, and smart farming techniques. By providing a unique farmer ID and centralizing information, the portal streamlines access to crucial data such as scheme notifications, land details, APMC history, and facilitates processes like applying for loans and insurance.
Moreover, the portal incorporates smart farming capabilities, utilizing machine learning, artificial intelligence, and the internet of things to assist farmers with crop recommendations, disease detection, yield prediction, and weather forecasting. With the potential to make accurate future predictions based on collected farmer data, the portal holds promise in empowering farmers with valuable insights and resources for improved decision-making and agricultural outcomes.
It is built using React for the frontend, Express, Sockets Server, and Twilio for SMS service and communication, and MongoDB for the database and machine learning algorithms for disease detection, crop prediction, and crop recommendation.
The portal was built to address the challenges faced by farmers in accessing crucial agricultural information and services. It aims to streamline decision-making by providing a centralized platform with a unique farmer ID for accessing schemes, land details, APMC history, and smart farming capabilities. The goal is to empower farmers with valuable insights, improve their decision-making, and enhance overall agricultural outcomes.
| 🛠️ Technology | 📋 Purpose in the Farmer‑Portal App |
|---|---|
| ⚡ Kotlin | Modern, null‑safe language powering the whole app |
| 🎨 Jetpack Compose + Material 3 | Declarative UI & sleek components for every screen |
| 🧭 Navigation Compose | Smooth, type‑safe in‑app routing (Home → Weather → Chatbot …) |
| 📊 ViewModel + StateFlow | Lifecycle‑aware reactive state management |
| 🌐 Retrofit 2 & OkHttp 5 | Type‑safe REST client for all backend services |
| 🔄 Coroutines + WorkManager | Lightweight async ops & scheduled alerts (weather, schemes) |
| 💾 Room | Local caching of APMC prices, schemes & offline data |
| 🔗 Hilt | Dependency injection for singletons, repositories, ViewModels |
| 🔔 Firebase Cloud Messaging | Push notifications for subsidy & weather alerts |
| 🤖 TensorFlow Lite | On‑device crop‑disease detection & yield inference |
That's pretty easy. To ensure that you are able to install everything properly, we would recommend you to have Git, NPM and Node.js installed.
1️⃣ We will first start with setting up the Local Project Environment:
git clone https://github.com/Neelpatel11/Growfarm-Digital-farmer-portal.git
cd Growfarm-Digital-farmer-portal
npm run installNow we will add the environment variables in the client/ and server/
2️⃣ Client
cd client
npm install
npm startFor server setup, you need to add your MongoDB database URL to /config/mongoose.js.
3️⃣ Server
cd server
npm install
npm start4️⃣ FastAPI Setup
cd fastapi-server
pip install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 8000 --reload- Every farmer gets a unique Farmer ID after registration.
- The Farmer ID helps in tracking:
- 🌱 Farm Information
- 📜 Eligible Schemes
- 📝 Scheme Application History
- 💰 Billing & Loan History
- 🛡️ Insurance Records
- Farmers receive crop recommendations based on:
- 🧪 Soil Parameters (Nitrogen, Phosphorus, Potassium levels)
- 🌦️ Weather Conditions
- Real-time weather updates to help farmers plan their agricultural activities.
- 🚨 Bad weather alerts to protect crops and prevent losses.
- 📜 Timely notifications about government schemes & financial aid.
- 🚀 Helps farmers take advantage of available subsidies & benefits.
- Farmers can browse and apply for schemes directly on the platform.
- 🔄 Real-time tracking of application status.
- 📊 Digital billing system for tracking sales & payments.
- ✅ Ensures transparency & accountability in transactions.
- 📈 Helps in maintaining organized financial records.
- Farmers can verify Aadhaar details to access their farm data.
- 🖥️ Direct integration with ANY ROR (Record of Rights) system.
- 🔗 All farm-related details in one unified portal—no need for multiple logins.















