CropForesight🌾

Frontend Code ✨-
https://github.com/abhijeet141/CropForesight-FrontEnd

Backend Code ✨-
https://github.com/abhijeet141/CropForesight_BackEnd


CropForesight is a powerful crop recommendation website that helps farmers and agriculture enthusiasts make informed decisions about the best crop to cultivate on a given land. By utilizing machine learning algorithms and various environmental parameters such as nitrogen value of soil, phosphorus value, rainfall, pH, potassium, humidity, and temperature. CropForesight predicts the optimal crop choice, maximizing productivity and yield.

Table of Contents ✨📑

  • Introduction
  • Features
  • Technologies
  • Usage
  • Local Development
  • Deployment
  • License

Features ✨🌐

  • Intelligent crop recommendation based on soil composition, rainfall, pH, potassium, humidity, and temperature.
  • User-friendly interface to input land and environmental parameters.
  • Efficient machine learning model leveraging Gaussian Naïve Bayes algorithm.
  • Responsive frontend developed using ReactJS for seamless user experience.
  • Scalable backend powered by FastAPI for quick data processing.

Back to top

Technologies 👨‍🔧

CropForesight leverages the following technologies:

  • ReactJS (Frontend): A popular JavaScript library for building interactive user interfaces.
  • FastAPI (Backend): A modern, fast (high-performance) web framework for building APIs with Python 3.7+.
  • Gaussian Naïve Bayes (Model): A machine learning algorithm used for probabilistic classification tasks.

Usage ✅

To experience the power of CropForesight, follow these simple steps:

✅ Visit the CropForesight website: https://abhijeet141.github.io/CropForesight-FrontEnd/.

✅ Enter the required details such as soil nitrogen value, phosphorus value, rainfall, pH, potassium, humidity, and temperature.

✅ Click on the "Recommend Crop" button to generate the optimal crop recommendation.

✅ Explore the recommended crop and gain insights into its suitability for your land.

✅ Contributing

We welcome contributions from everyone. Here are some guidelines to get started:

  1. Fork the repository and create your branch: git checkout -b your-branch-name

  2. Make your changes and commit them: git commit -m 'Add some feature'

  3. Push to your forked repository: git push origin your-branch-name

  4. Open a pull request to the main repository's branch

Please follow the cotribution guide in all your interactions with the project

Back to top

Local Development ❇️✨

If you want to contribute to CropForesight or run it locally for development purposes, follow these steps:

  1. Clone the frontend repository:

    git clone https://github.com/abhijeet141/CropForesight-FrontEnd.git

  2. Change to the project directory:

    cd CropForesight-FrontEnd

  3. Install the required dependencies:

    npm install

  4. Run the frontend:

    npm start

  5. Clone the backend repository:

    git clone https://github.com/abhijeet141/CropForesight_BackEnd.git

  6. Change to the CropForesight_BackEnd directory:

    cd CropForesight_BackEnd

  7. Install the required dependencies:

    pip install -r requirements.txt

  8. Run the backend:

    uvicorn main:app --reload

  9. Open the website in your browser at http://localhost:3000 to access the local instance of CropForesight.

Back to top

Deployment🚀🚀

✅ CropForesight's frontend is deployed and can be accessed online at https://crop-foresight-front-end.vercel.app/.

✅ Feel free to explore the website and witness the power of smart crop recommendation firsthand!

License 🪪

This project is licensed under the MIT License.

Please feel free to modify the sections and add any additional information or badges relevant to your project. Let me know if you need further help.

Back to top