CropSphere is an AI-powered agriculture platform designed to help farmers make smarter decisions using data, automation, and intelligent insights. It simplifies crop management, improves productivity, and enables better resource planning.
-
🌾 Crop Recommendation System Suggests the best crops based on soil, weather, and location data.
-
📊 Real-Time Data Insights Provides analytics on crop health, yield prediction, and farming patterns.
-
🌦️ Weather Integration Helps farmers plan activities based on live weather updates.
-
🤖 AI Assistance Smart suggestions for fertilizers, irrigation, and crop care.
-
📍 Location-Based Services Personalized recommendations using geolocation data.
Frontend
- React.js
- Tailwind CSS
Backend
- Node.js
- Express.js
Database
- MongoDB
Other Tools
- REST APIs
- Mongoose
- dotenv
CropSphere/
│
├── frontend/ # React frontend
├── backend/ # Node + Express backend
│ ├── models/ # Database schemas
│ ├── controllers/ # Business logic
│ ├── routes/ # API routes
│ ├── middleware/ # Auth & error handling
│
├── .env # Environment variables
├── package.json
└── README.md
git clone https://github.com/Mahi-19-design/cropsphere.git
cd cropspherecd backend
npm install
npm startcd frontend
npm install
npm run devCreate a .env file in the backend folder:
PORT=5000
MONGO_URI=your_mongodb_connection
JWT_SECRET=your_secret_key
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/crops | Get crop recommendations |
| POST | /api/users | Register user |
| POST | /api/auth | Login user |
CropSphere helps:
- Farmers make data-driven decisions
- Reduce crop failure risk
- Increase yield and efficiency
- 📷 Image-based disease detection
- 📱 Mobile app integration
- 🌍 Multilingual support
- 📈 Advanced AI predictions
Contributions are welcome! Feel free to fork the repo and submit a pull request.
This project is licensed under the MIT License.
Built to empower farmers with technology and bring innovation to agriculture 🌍