Skip to content

An shopping & community app for farmers, gardeners & plant enthusiasts made with flutter

Notifications You must be signed in to change notification settings

codernayeem/agro-care-app

Repository files navigation

agro-care-app

Agro Care App

A plant disease detection, shopping, and community app for farmers, gardeners, and plant enthusiasts.

Features

  • Simple, clean, and easy app interface 👍
  • Email-password and Google authentication
  • Plant disease detection through leaf scanning (currently supports Tomato, Potato, Corn)
  • Assistance via phone call or WhatsApp for farming and gardening support
  • Weather updates including temperature and sky status
  • Latest trends and news in the agriculture sector
  • Fully functional marketplace for seeds, pesticides, irrigation supplies, indoor plants, gardening tools, fertilizers, etc., with cart, ordering, and payment integration via SSL Commerz
  • Minimal social features including posting, liking, and commenting
  • Profile page with user information display, edit profile functionality, profile picture upload, and view user's orders

API & Services Used

  • FlutterFire
    • Ensure to login to Firebase from CLI
    • Use FlutterFire to connect to Firebase (generates a Dart file - without it the app won't run)
  • Firebase Auth for authentication
  • Firebase CloudStore for database
  • Firebase Storage for storage service
  • OpenWeather API for weather information
  • Agro Care Flask API for plant disease detection: agro-care-flask
    • Run the Flask app locally or host it
    • Set the prediction API link to the Firebase CloudStore
    • Run the app and scan any leaf
    • Note: Without starting the server, the detection won't work. Currently, the server is hosted locally, so detection might not work.

Project Requirements

  • Flutter v3.16.9 or higher (The project was developed on v3.16.9)

Usage

  1. Clone the repository:
    git clone https://github.com/codernayeem/agro-care-app.git
  2. Navigate to the project directory:
    cd agro-care-app
  3. Install dependencies:
    flutter pub get
  4. Configure FlutterFire:
    flutterfire configure
  5. Run the app:
    flutter run

Test the app

  • Download the latest release from GitHub Releases
  • Install the APK on your device (As the app is not uploaded to the Play Store, you might get a warning. You can safely ingore that.)
  • Open the app and explore its features
  • Regarding The Disease Detection through leaf scanning
    • The server for detection api is not hosted in remote server yet.
    • Since, the detection server agro-care-flask can be hosted locally, the local api needs to be set in the cloudstore everytime it changes.
    • Currently, the api saved in cloud store is http://192.168.0.103:4000/predict
    • You can run the server locally on that local IP address & port. Then, the detection in app should work fine.
    • Currently, the model is not that robust yet, as the dataset was not that versatile. It is just for testing purpose of the pipeline.

Screenshots

Image 1 Image 2 Image 3
Image 4 Image 5 Image 6
Image 7 Image 8 Image 9
Image 10 Image 11 Image 12
Image 13 Image 14 Image 15
Image 16 Image 17 Image 18
Image 19 Image 20 Image 21
Image 22 Image 23 Image 24
Image 25 Image 26 Image 27
Image 28 Image 29 Image 30
Image 31 Image 32 Image 33

Credits

Various images, news information, marketplace details, and disease descriptions used in the app were sourced from the internet for educational purposes only.