Smart Agricultural Solutions for Modern Farmers
π Live Demo | π Documentation | π Report Bug | β¨ Request Feature
- Overview
- Features
- Tech Stack
- Getting Started
- Usage
- Project Structure
- Core Modules
- Contributing
- License
- Contact
- Acknowledgments
GreenGo is a comprehensive agricultural platform designed to empower farmers with cutting-edge technology and data-driven insights. From crop planning and disease detection to real-time weather monitoring and government scheme awareness, GreenGo provides end-to-end solutions for modern agriculture.
To bridge the gap between traditional farming practices and modern technology, enabling farmers to make informed decisions, maximize yields, and achieve sustainable agricultural growth.
- π€ AI-Powered Disease Detection - Early identification of crop diseases
- π Smart Crop Planning - Data-driven planting recommendations
- π¦οΈ Real-Time Weather Insights - Hyperlocal weather forecasting
- π Government Schemes Hub - Easy access to agricultural subsidies
- π Multi-Language Support - Accessible to farmers nationwide
- π± Responsive Design - Works seamlessly across all devices
- Intelligent Recommendations - AI-driven suggestions based on:
- Soil type and quality
- Regional climate patterns
- Market demand trends
- Historical yield data
- Seasonal Planning - Optimize planting schedules
- Crop Rotation Advisor - Maintain soil health
- Yield Predictions - Forecast expected harvest
- Image-Based Analysis - Upload crop photos for instant diagnosis
- ML-Powered Recognition - Detect diseases with high accuracy
- Treatment Recommendations - Get actionable remediation steps
- Disease Database - Comprehensive catalog of crop ailments
- Prevention Tips - Proactive crop health management
- Real-Time Updates - Current weather conditions
- 7-Day Forecasts - Plan ahead with confidence
- Rainfall Predictions - Critical for irrigation planning
- Temperature Trends - Optimize crop care activities
- Weather Alerts - Get notified of extreme conditions
- Crop Encyclopedia - Detailed cultivation guides
- Best Practices - Expert farming techniques
- Nutrient Requirements - Fertilization guidance
- Growth Stages - Monitor crop development
- Market Prices - Stay informed on crop values
- Centralized Hub - All agricultural schemes in one place
- Eligibility Checker - Find schemes you qualify for
- Application Guidance - Step-by-step application process
- Document Checklists - Required paperwork guidance
- Deadline Tracking - Never miss an opportunity
- Secure Firebase Auth - Industry-standard security
- Profile Management - Personalized user experience
- Data Privacy - Your information stays protected
- Session Management - Secure and persistent logins
- Multi-Language Support - React i18next integration
- Regional Customization - Localized content
- Easy Language Switching - One-click translation
- Inclusive Design - Accessible to all farmers
- βοΈ React 19.1.1 - Modern UI library with latest features
- β‘ Vite 7.1.2 - Lightning-fast build tool and dev server
- π¨ Tailwind CSS 4.1.13 - Utility-first CSS framework
- π§ React Router DOM 7.9.1 - Client-side routing
- π Lucide React - Beautiful, consistent icons
- π React Toastify - Elegant notifications
- π₯ Firebase 12.2.1 - Backend-as-a-Service
- Authentication
- Firestore Database
- Cloud Storage
- Hosting
- π‘ Axios - HTTP client for API requests
- π¦ npm - Package management
- π ESLint - Code quality and consistency
- π― Vite Plugin React - Fast refresh and optimizations
Ensure you have the following installed:
- Node.js (v18.0.0 or higher)
- npm (v9.0.0 or higher)
- Git
- Firebase Account (for backend services)
-
Clone the repository
git clone https://github.com/tejassapara61-stack/green-GO.git cd green-GO/GreenGo -
Install dependencies
npm install
-
Configure Firebase
- Create a Firebase project at Firebase Console
- Enable Authentication (Email/Password)
- Create a Firestore Database
- Copy your Firebase config
-
Set up environment variables
# Create .env file in the root directory cp .env.example .env -
Start the development server
npm run dev
-
Open your browser
Navigate to http://localhost:5173
Create a .env file in the root directory:
# Firebase Configuration
VITE_FIREBASE_API_KEY=your_api_key_here
VITE_FIREBASE_AUTH_DOMAIN=your_auth_domain_here
VITE_FIREBASE_PROJECT_ID=your_project_id_here
VITE_FIREBASE_STORAGE_BUCKET=your_storage_bucket_here
VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id_here
VITE_FIREBASE_APP_ID=your_app_id_here
VITE_FIREBASE_MEASUREMENT_ID=your_measurement_id_here
# API Endpoints (Optional)
VITE_WEATHER_API_KEY=your_weather_api_key_here
VITE_ML_API_ENDPOINT=your_ml_api_endpoint_here
β οΈ Important: Never commit your.envfile to version control!
-
Sign Up / Login
- Create an account using email and password
- Verify your email address
-
Explore Dashboard
- Access personalized recommendations
- View your saved crops and plans
-
Plan Your Crops
- Navigate to Smart Planner
- Input your land details
- Get AI-powered recommendations
-
Check Weather
- View real-time weather data
- Plan irrigation and harvesting
-
Detect Diseases
- Upload photos of affected crops
- Receive instant diagnosis
- Follow treatment recommendations
-
Browse Schemes
- Find eligible government programs
- Learn application procedures
- Track deadlines
# Development mode with hot reload
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
# Run linter
npm run lintgreen-GO/
βββ GreenGo/
β βββ public/ # Static assets
β β βββ crops.jpg
β β βββ vite.svg
β βββ src/
β β βββ assets/ # Images, fonts, etc.
β β β βββ react.svg
β β βββ components/ # Reusable UI components
β β β βββ About.jsx
β β β βββ Contact.jsx
β β β βββ CoreValues.jsx
β β β βββ DashboardPreview.jsx
β β β βββ Features.jsx
β β β βββ Footer.jsx
β β β βββ Hero.jsx
β β β βββ Navbar.jsx
β β β βββ Navbar2.jsx
β β βββ pages/ # Page components
β β β βββ Crops.jsx
β β β βββ DiseaseDetector.jsx
β β β βββ Home.jsx
β β β βββ Login.jsx
β β β βββ Schemes.jsx
β β β βββ Signup.jsx
β β β βββ SmartPlanner.jsx
β β β βββ Weather.jsx
β β βββ images/ # Image assets
β β β βββ dashboard.jpg
β β β βββ logo.jpg
β β β βββ logo.png
β β βββ App.jsx # Main application component
β β βββ App.css # Global styles
β β βββ main.jsx # Application entry point
β β βββ index.css # Base CSS
β β βββ firebase.js # Firebase configuration
β β βββ GoogleTranslate.jsx # Translation component
β βββ .gitignore # Git ignore rules
β βββ eslint.config.js # ESLint configuration
β βββ index.html # HTML entry point
β βββ package.json # Dependencies and scripts
β βββ package-lock.json # Locked dependencies
β βββ README.md # Project documentation
β βββ vite.config.js # Vite configuration
// Firebase initialization and auth configuration
// Handles user authentication, session management// Protected routes
// Public routes
// Authentication context
// Role-based access control// React Context API for global state
// Local state for component-specific data
// Firebase real-time listenersWe welcome contributions from the community! Here's how you can help:
-
Fork the repository
# Click the 'Fork' button on GitHub -
Clone your fork
git clone https://github.com/YOUR_USERNAME/green-GO.git cd green-GO/GreenGo -
Create a feature branch
git checkout -b feature/AmazingFeature
-
Make your changes
- Write clean, documented code
- Follow existing code style
- Add tests if applicable
-
Commit your changes
git commit -m 'feat: Add AmazingFeature' -
Push to your fork
git push origin feature/AmazingFeature
-
Open a Pull Request
- Provide a clear description
- Reference any related issues
- π Follow the code style and conventions
- β Ensure all tests pass
- π Update documentation as needed
- π Write clear commit messages
- π€ Be respectful and collaborative
- Be respectful and inclusive
- Accept constructive criticism
- Focus on what's best for the community
- Show empathy towards others
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2025 Tejas Sapara
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction...
Tejas Sapara
- πΌ GitHub: @tejassapara61-stack
- π§ Email: your.email@example.com
- π LinkedIn: Tejas sapara
- π Repository: https://github.com/tejassapara61-stack/green-GO
- π Issue Tracker: GitHub Issues
- π Wiki: Project Wiki
Special thanks to:
- πΎ Farmers - For inspiring this project
- π Agricultural Experts - For domain knowledge
- π» Open Source Community - For amazing tools and libraries
- π₯ Firebase Team - For robust backend services
- βοΈ React Team - For an incredible framework
- π¨ Tailwind CSS - For beautiful styling utilities
- π Vite Team - For blazing fast development
Made with π by the GreenGo Team
