Skip to content

ArfanCodes/CropLytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

33 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CropLytics 🌾

AI-Powered Smart Farming Assistant - A modern React Native + Expo mobile application for intelligent crop management and soil health monitoring

React Native Expo TypeScript License

🌟 Overview

CropLytics is a comprehensive mobile application designed to help farmers make data-driven decisions about crop selection, soil health management, and farming practices. With AI-powered recommendations and real-time weather integration, it brings modern technology to agriculture.

✨ Key Features

πŸ” Authentication & Onboarding

  • βœ… Secure login/sign-up with Appwrite backend integration
  • βœ… Multi-language support (English, Hindi, Telugu)
  • βœ… Smooth onboarding experience with language selection
  • βœ… Persistent authentication state management

πŸ“Š Dashboard & Analytics

  • βœ… Real-time weather integration with location services
  • βœ… Comprehensive soil health overview with visual indicators
  • βœ… Crop growth progress tracking with circular progress indicators
  • βœ… Water requirement calculations for all crops
  • βœ… Crop calendar with planting and harvest dates
  • βœ… Smooth scroll-based header blur effects
  • βœ… Performance-optimized with React.memo and useMemo

πŸ§ͺ Soil Health Analysis

  • βœ… Interactive NPK (Nitrogen, Phosphorus, Potassium) visualization
  • βœ… Animated circular progress indicators for nutrient levels
  • βœ… pH level and moisture monitoring
  • βœ… CSV data upload for soil test results
  • βœ… Personalized recommendations based on soil composition
  • βœ… Custom SVG icons for visual clarity
  • βœ… Real-time status updates with color-coded indicators

🌱 AI-Powered Crop Recommendations

  • βœ… Season-aware crop suggestions
  • βœ… Soil-type specific recommendations
  • βœ… Suitability ratings (High, Medium, Low)
  • βœ… Expected yield predictions
  • βœ… Water requirement analysis
  • βœ… Custom crop icons for visual identification
  • βœ… Frosted-glass UI with modern design
  • βœ… Performance-optimized rendering

πŸ€– AI Chat Assistant

  • βœ… Interactive farming assistant
  • βœ… Context-aware responses
  • βœ… Quick action suggestions
  • βœ… Real-time chat interface
  • βœ… Farming tips and best practices

πŸ“ Data Management

  • βœ… CSV file upload and parsing (PapaParse)
  • βœ… Local data persistence (AsyncStorage)
  • βœ… Soil data storage and retrieval
  • βœ… User preferences management

πŸ”” Notifications & Alerts

  • βœ… Smart farming alerts
  • βœ… Weather-based notifications
  • βœ… Crop care reminders
  • βœ… Categorized notification system

βš™οΈ Settings & Profile

  • βœ… User profile management
  • βœ… Language preferences
  • βœ… Privacy policy and help sections
  • βœ… Account settings
  • βœ… Logout functionality

πŸ› οΈ Tech Stack

Core Technologies

  • React Native (0.74) - Cross-platform mobile framework
  • Expo (SDK 51) - Development platform and tooling
  • TypeScript (5.3) - Type-safe JavaScript
  • React Navigation (6.x) - Navigation library

Backend & Services

  • Croplytics ML API - Custom FastAPI backend for all AI/ML models.
  • Appwrite - Backend-as-a-Service for authentication
  • WeatherAPI - Real-time weather data integration
  • AsyncStorage - Local data persistence

UI/UX Libraries

  • Expo Linear Gradient - Gradient backgrounds
  • Expo Blur - Frosted glass effects
  • React Native SVG - Custom vector icons
  • Expo Vector Icons - Icon library (Ionicons, MaterialCommunityIcons)

Utilities

  • PapaParse - CSV parsing
  • Expo Location - GPS and location services
  • Expo Document Picker - File selection

Development Tools

  • ESLint - Code linting
  • Prettier - Code formatting
  • Git - Version control

πŸ“± Screenshots

Coming soon - Screenshots of the app in action

πŸ“‚ Project Structure

CropLytics/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/          # Reusable UI components
β”‚   β”‚   β”œβ”€β”€ icons/          # Custom SVG icons
β”‚   β”‚   β”œβ”€β”€ AndroidSafeGlassCard.tsx
β”‚   β”‚   β”œβ”€β”€ BottomNavigation.tsx
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ contexts/           # React Context providers
β”‚   β”‚   β”œβ”€β”€ AuthContext.tsx
β”‚   β”‚   β”œβ”€β”€ WeatherContext.tsx
β”‚   β”‚   └── LocationContext.tsx
β”‚   β”œβ”€β”€ screens/            # App screens
β”‚   β”‚   β”œβ”€β”€ Auth/          # Authentication screens
β”‚   β”‚   β”œβ”€β”€ DashboardScreen.tsx
β”‚   β”‚   β”œβ”€β”€ SoilHealthScreen.tsx
β”‚   β”‚   β”œβ”€β”€ CropRecommendationScreen.tsx
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ navigation/         # Navigation configuration
β”‚   β”œβ”€β”€ services/           # API services
β”‚   β”œβ”€β”€ utils/             # Utility functions
β”‚   β”œβ”€β”€ types/             # TypeScript type definitions
β”‚   └── data/              # Mock data
β”œβ”€β”€ assets/                # Images and static files
β”œβ”€β”€ App.tsx               # Root component
└── package.json          # Dependencies

🎨 Design Philosophy

  • Modern UI/UX - Frosted glass effects, smooth animations, and intuitive navigation
  • Performance First - Optimized with React.memo, useMemo, and useCallback
  • Responsive Design - Adaptive layouts for different screen sizes
  • Accessibility - Color-coded indicators and clear visual hierarchy
  • Clean Code - TypeScript, ESLint, and consistent code style

πŸ”„ Recent Updates

v0.3.0 (Latest)

  • βœ… Removed unused files and cleaned codebase (17% reduction)
  • βœ… Optimized Crop Recommendations page performance
  • βœ… Removed unnecessary animations for faster load times
  • βœ… Enhanced UI consistency across all screens
  • βœ… Improved component memoization

v0.2.0

  • βœ… Integrated real weather API
  • βœ… Added frosted-glass UI effects
  • βœ… Implemented custom crop icons
  • βœ… Enhanced Dashboard with scroll animations

v0.1.0

  • βœ… Initial release with core features
  • βœ… Authentication system
  • βœ… Basic soil health monitoring

🚧 Roadmap

Phase 1 (Current)

  • βœ… Core features implementation
  • βœ… UI/UX refinement
  • βœ… Performance optimization

Phase 2 (Next)

  • 🚧 Advanced AI recommendations
  • 🚧 Crop disease detection
  • 🚧 Market price integration
  • 🚧 Community features

πŸ“„ License

This project is protected under a Strict Proprietary License.
Unauthorized copying, modification, distribution, or reuse of any part of this code is strictly prohibited.
This repository is provided for viewing purposes only.

Any form of plagiarism, duplication, or misuse will result in strict action being taken against the violator.
For permission or collaboration, please contact the repository owner.

πŸ‘₯ Team

πŸ“§ Contact

For questions or support, please open an issue on GitHub or contact us at [arfaanmohammed56@gmail.com]

πŸ™ Acknowledgments


Made with ❀️ for farmers worldwide

About

CropLytics is an AI-powered smart agriculture companion built with React Native and Appwrite. It empowers farmers with real-time soil health monitoring, intelligent crop recommendations, and an integrated AI chat assistant to optimize farming yields.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors