A revolutionary platform connecting Indian farmers with markets, technology, and government schemes to increase agricultural productivity and income.
- Farmer Dashboard: Track crops, access market prices, and get personalized recommendations
- Government Schemes: Access and apply for relevant agricultural support programs
- Crop Health Monitoring: AI-powered disease detection and treatment recommendations
- Market Connect: Direct connection to buyers with fair price negotiations
- Weather Integration: Localized weather forecasts and alerts
- Frontend: Next.js, React, Tailwind CSS
- Backend: FastAPI, SQLAlchemy
- Authentication: JWT-based authentication
- Database: SQLite (development), PostgreSQL (production)
- External APIs:
- OpenWeather API for weather forecasts
- data.gov.in API for market prices
- KindWise API for crop disease detection
- Custom API for additional crop disease services (optional)
- Node.js 16+ and npm
- Python 3.8+
- Git
- API keys for external services (see Environment Setup)
-
API Keys: You'll need the following API keys:
- OpenWeather API key for weather forecasts
- data.gov.in API key for market prices
- KindWise API key for crop disease detection
- (Optional) Additional third-party API key for crop disease detection
-
Set up environment variables by copying the template files:
cp backend/.env.template backend/.env cp frontend/.env.template frontend/.env.local
-
Edit the environment files with your API keys and configuration values.
- Clone the repository:
git clone https://github.com/yourusername/agrotech.git
cd agrotech- Set up the backend:
cd backend
pip install -r requirements.txt
python main.py- Set up the frontend:
cd frontend
npm install
npm run dev- Access the application:
- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Documentation: http://localhost:8000/docs
For detailed deployment instructions, see DEPLOYMENT.md.
Quick deployment with Docker:
# Make sure Docker and Docker Compose are installed
cp backend/.env.template backend/.env # Edit with production values
cp frontend/.env.template frontend/.env.local # Edit with production values
docker-compose up -d- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.