The repository for the backend of the Crop Foresight project made using Pydantic and FastAPI.
By using various parameters like Nitrogen, Phosphorous, Potassium, rainfall, humidity, temperature and pH it predicts the most optimal crop for the land from among 22 crops ranging from rice or apples to cotton or lentils using a Gaussian Naive Bayes model
git clone https://github.com/abhijeet141/CropForesight_BackEnd.git
cd CropForesight_BackEnd
pip install -r requirements.txt
uvicorn main:app --reload
Open the website in your browser at http://localhost:3000.
Refer to the contribution guidelines here
The entire project is licensed under the MIT License
You can access the deployed frontend at: