A unified digital platform designed to empower farmers through technology, providing tools for subsidy navigation, crop recommendations, digital marketplaces, farm management, and community engagement.
- Problem Statement
- Solution
- Tech Stack
- Project Structure
- Installation
- Key Features
- Screenshots
- API Endpoints
- License
| Challenge | Impact |
|---|---|
| Unclear subsidy information | Farmers miss financial benefits |
| No crop demand data | Oversupply leading to low prices |
| Fragmented knowledge sharing | Limited access to expert advice |
| Manual trading processes | Inefficient market access |
| Outdated farm practices | Reduced productivity |
Five Integrated Modules:
- Subsidy Navigator - Real-time government scheme tracking
- Crop Oracle - AI-powered planting recommendations
- AgriMarket - Digital trading with escrow
- Farm Genius - IoT-ready management system
- Krishi Community - Verified expert Q&A platform
- React 18+: Component-based UI
- Vite: Fast build tool
- Tailwind CSS: Utility-first styling
- Axios: HTTP requests
- React Router: Navigation
- Node.js 16+: Runtime environment
- Express: Web framework
- Mongoose: MongoDB ORM
- JWT: Authentication
- Cloudinary: Media storage
- Docker: Containerization
- GitHub Actions: CI/CD pipelines
- ESLint: Code quality
- Prettier: Code formatting
SMART-AGRICONNECT/
β
βββ admin/
β βββ node_modules/
β βββ public/
β β βββ assets/
β β βββ index.html
β βββ src/
β β βββ components/
β β βββ pages/
β β βββ App.jsx
β β βββ main.jsx
β βββ .dockerignore
β βββ Dockerfile
β βββ package.json
β βββ vite.config.js
β
βββ backend/
β βββ config/
β β βββ db.js
β βββ controllers/
β β βββ authController.js
β β βββ subsidyController.js
β βββ models/
β β βββ User.js
β β βββ Subsidy.js
β βββ routes/
β β βββ authRoutes.js
β β βββ apiRoutes.js
β βββ utils/
β β βββ cloudinary.js
β β βββ jwt.js
β βββ .env
β βββ package.json
β βββ server.js
β
βββ user/
β βββ node_modules/
β βββ public/
β β βββ index.html
β βββ src/
β β βββ components/
β β βββ pages/
β β βββ App.jsx
β β βββ main.jsx
β βββ package.json
β βββ vite.config.js
- Admin Portal: User management and analytics
- Farmer Dashboard: Integrated farming modules
- API Services: Secure REST endpoints
- Database: MongoDB with optimized schemas
- Frontend: React + Vite + Tailwind CSS
- Backend: Node.js + Express
- Database: MongoDB
- Authentication: JWT
- Media Storage: Cloudinary
# Clone repository
git clone https://github.com/yourusername/SMART-AGRICONNECT.git
# Install dependencies
cd SMART-AGRICONNECT/backend && npm install
cd ../frontend && npm install
cd ../admin && npm install
# Start development servers
# Backend
cd ../backend && npm start
# Frontend (in new terminal)
cd ../frontend && npm run dev
# Admin (in new terminal)
cd ../admin && npm run dev
- π§© New feature development
- π Bug fixes
- π Documentation improvements
Create a .env file in the backend/ directory with the following keys:
# Backend .env
PORT=5000
MONGO_URL=mongodb://localhost:27017/smartagri
JWT_SECRET=your_jwt_secret_key
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret| Module | Innovation Factor |
|---|---|
| Subsidies | Real-time tracking + application assistant |
| Crop Selection | AI-powered cultivation trend analysis |
| Marketplace | Escrow-based secure transactions |
| Farm Management | IoT integration capability |
| Community | Verified expert verification system |
We welcome contributions! Please fork the repository and submit pull requests (PRs) for:
- π§© New feature development
- π Bug fixes
- π Documentation improvements
Β© 2025 Sukant C
π Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights to:
- β Use
- β Copy
- β Modify
- β Merge
- β Publish
- β Distribute
- β Sublicense
- β Sell copies of the Software
and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
π The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.











