A full-stack web application designed to empower modern farmers with intelligent crop suggestions, localized farming practices, and real-time safety monitoring. The platform leverages machine learning and location-based services to optimize agricultural yields and ensure farm safety.
- Frontend: React.js, Vite
- Backend: Python, FastAPI
- Machine Learning: Scikit-Learn, Pandas
- Location-Based Crop Suggestions: Recommends the best crops to plant based on your specific geographical location and environmental factors.
- Safety Monitoring: Real-time safety analytics and safe zone tracking.
- Government Schemes Hub: A centralized dashboard to discover relevant agricultural schemes and subsidies.
- Interactive Dashboard: Real-time data visualization and farm management tools.
- Node.js (v16+)
- Python (3.9+)
Navigate to the backend directory:
cd backendCreate and activate a virtual environment (recommended):
python -m venv venv
# On Windows:
venv\Scripts\activate
# On Mac/Linux:
source venv/bin/activateInstall the required Python packages:
pip install -r requirements.txtStart the FastAPI server:
uvicorn main:app --reloadThe backend API will be running at http://127.0.0.1:8000. You can view the interactive API documentation at http://127.0.0.1:8000/docs.
Open a new terminal and navigate to the frontend directory:
cd frontendInstall the Node.js dependencies:
npm installStart the React development server:
npm run devThe frontend application will be running at http://localhost:5173 (or the port specified by Vite).