ShetNiyojan is a comprehensive agricultural management system designed to empower farmers with data-driven insights for optimizing crop cultivation, health monitoring, and supply chain management.
ShetNiyojan integrates modern frontend technologies with advanced machine learning capabilities to create a complete farm management solution. The platform offers tools for each phase of the agricultural cycle - from planning and preparation to harvesting and distribution.
The project follows a client-server architecture:
- Built with React + TypeScript + Vite
- Uses Tailwind CSS for styling and Shadcn UI components
- Responsive design for mobile, tablet, and desktop devices
- Interactive dashboards and visualizations
- Located in the
Frontenddirectory
- Built with Flask and Python
- MongoDB database for data persistence
- Machine learning models for crop recommendation, soil analysis, and disease detection
- AI-powered image analysis for plant health assessment
- RESTful API endpoints for frontend communication
- Located in the
Backenddirectory
- AI-Based Crop Prediction: Get personalized crop recommendations based on soil composition, climate conditions, and historical yield data
- Lease Marketplace: Access equipment rental and field planning tools for efficient resource allocation
- Crop Health Monitoring:
- Upload plant images for real-time disease detection
- AI-powered diagnosis of plant health issues
- Detailed treatment recommendations with dosage information
- Voice input support for hands-free operation
- Smart Irrigation: Optimize water usage with intelligent scheduling based on weather forecasts and soil moisture levels
- Supply Chain Optimization:
- Transport route optimization for maximum profit
- Market price analysis across different locations
- Interactive maps for visualizing distribution options
- Yield Management:
- Comprehensive tracking of yields and performance metrics
- Historical data analysis for continuous improvement
- User Authentication: Secure mobile number-based login and registration system
- Multilingual Support: Language selection for broader accessibility
- Responsive Design: Optimized for all devices, from smartphones to desktops
- Real-time Activity Tracking: Keep track of all farm activities in one place
- Node.js 16+
- Python 3.8+
- MongoDB
- API keys for external services (if applicable)
-
Navigate to the Frontend directory:
cd ShetNiyojan/Frontend -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
The application will be available at
http://localhost:5173
-
Navigate to the Backend directory:
cd ShetNiyojan/Backend -
Create and activate a virtual environment:
python -m venv .venv # On Windows .venv\Scripts\activate # On macOS/Linux source .venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Configure environment variables:
- Create a
.envfile based on the existing one - Add any required API keys for external services
- Create a
-
Start the backend server:
python app.py
-
The API will be available at
http://localhost:5000
POST /api/register: Register a new userPOST /api/login: Authenticate user and get tokenGET /api/profile: Get current user profile
GET /api/yields: Get all yields for current userPOST /api/yields: Create a new yieldGET /api/yields/:id: Get a specific yieldPUT /api/yields/:id: Update a yieldDELETE /api/yields/:id: Delete a yield
POST /api/crop-health: Upload plant image for disease detection
POST /api/crop-prediction: Get crop recommendations based on soil and climate data
POST /api/supply-chain/optimize: Get transport route optimization
- React 18 with TypeScript
- Vite for build tooling
- Tailwind CSS for styling
- Shadcn UI component library
- Axios for API communication
- React Router for navigation
- Responsive design for all devices
- Flask for API development
- MongoDB for database storage
- Python for backend logic
- XGBoost and other ML models for predictions and recommendations
- AI-powered image analysis for disease detection
- RESTful API architecture
- Integration with IoT devices for real-time sensor data
- Weather forecast integration
- Mobile application development
- Marketplace for agricultural products
- Community features for knowledge sharing
- Gopal Dose
- Yuvraj Sanghai
- Shreeshail Chavan
- Viraj Mane
- Ninad Suryawanshi
This project is licensed under the MIT License.
