Skip to content

๐ŸŒพ Empowering farmers through technology - A React/TypeScript platform connecting farmers directly with buyers, featuring real-time pricing, government schemes, and comprehensiveย farmingย tools

Notifications You must be signed in to change notification settings

RajPrakash681/kisan_4_life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Kisan4Life ๐ŸŒพ

Empowering Farmers Through Technology

Kisan4Life is a modern mobile-first web application designed to connect farmers directly with buyers, providing real-time crop pricing, government schemes information, and comprehensive farming tools. Built with React and TypeScript, this platform aims to eliminate middlemen and maximize farmers' profits.

๐Ÿ“ฑ Demo Video

Check out our application demo:

Video file: src/assets/Kisan4Life_vid.mp4

โœจ Features

๐Ÿ  Dashboard & Navigation

  • Clean, intuitive home screen with quick access to all features
  • Bottom navigation for easy mobile access
  • Responsive design optimized for all screen sizes

๐ŸŒฑ Crop Management

  • List My Crops: Manage and showcase your crop listings for potential buyers
  • Upload crop photos and descriptions
  • Set pricing and availability

๐Ÿค Buyer Connection

  • Connect with Buyers: Direct communication platform with crop buyers
  • Remove middlemen to maximize profits
  • Secure messaging and negotiation tools

๐Ÿ“ˆ Market Intelligence

  • Price Trends: Real-time crop price analytics and market trends
  • Historical pricing data visualization
  • Market predictions and insights

๐Ÿ›๏ธ Government Support

  • Schemes & Subsidies: Access to latest government farming schemes
  • Application guidance and status tracking
  • Subsidy calculators and eligibility checkers

๐Ÿ†” KYC & Verification

  • Digital KYC: Streamlined farmer verification process
  • Document upload and verification
  • Digital identity management

๐Ÿ‘ค Profile Management

  • Personal farmer profile with farming details
  • Achievement badges and farming statistics
  • Settings and preferences management

๐Ÿ› ๏ธ Tech Stack

Frontend Framework

  • React 18.3.1 - Modern React with hooks and concurrent features
  • TypeScript - Type-safe development
  • Vite 6.3.5 - Fast build tool and development server

UI/UX Libraries

  • Radix UI - Comprehensive component library for accessibility
    • Accordion, Alert Dialog, Avatar, Button, Card, Dialog
    • Dropdown Menu, Form, Input, Navigation, Select, Tabs
    • Progress, Calendar, Tooltip, and many more
  • Tailwind CSS - Utility-first CSS framework
  • Lucide React - Beautiful, customizable icons
  • Class Variance Authority - Type-safe component variants

Data Visualization

  • Recharts - Responsive chart library for price trends
  • Embla Carousel - Smooth carousel components

Form Management

  • React Hook Form - Performant form handling
  • Input OTP - One-time password input components

Additional Features

  • Next Themes - Dark/light theme support
  • Sonner - Beautiful toast notifications
  • React Day Picker - Date selection components
  • Vaul - Mobile-optimized drawer components

๐Ÿš€ Getting Started

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn package manager

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/kisan4life.git
    cd kisan4life
  2. Install dependencies

    npm install
  3. Start development server

    npm run dev
  4. Build for production

    npm run build

The application will be available at http://localhost:5173

๐Ÿ“ Project Structure

kisan_4_life/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/           # Main application components
โ”‚   โ”‚   โ”œโ”€โ”€ BuyersScreen.tsx     # Buyer connection interface
โ”‚   โ”‚   โ”œโ”€โ”€ CropsScreen.tsx      # Crop listing management
โ”‚   โ”‚   โ”œโ”€โ”€ HomeScreen.tsx       # Main dashboard
โ”‚   โ”‚   โ”œโ”€โ”€ KYCScreen.tsx        # Digital verification
โ”‚   โ”‚   โ”œโ”€โ”€ Navigation.tsx       # Bottom navigation
โ”‚   โ”‚   โ”œโ”€โ”€ PricesScreen.tsx     # Market price trends
โ”‚   โ”‚   โ”œโ”€โ”€ ProfileScreen.tsx    # User profile management
โ”‚   โ”‚   โ”œโ”€โ”€ SchemesScreen.tsx    # Government schemes
โ”‚   โ”‚   โ”œโ”€โ”€ SettingsScreen.tsx   # App settings
โ”‚   โ”‚   โ””โ”€โ”€ ui/                  # Reusable UI components
โ”‚   โ”œโ”€โ”€ assets/
โ”‚   โ”‚   โ””โ”€โ”€ Kisan4Life_vid.mp4   # Application demo video
โ”‚   โ”œโ”€โ”€ styles/
โ”‚   โ”‚   โ””โ”€โ”€ globals.css          # Global styles
โ”‚   โ”œโ”€โ”€ App.tsx              # Main application component
โ”‚   โ”œโ”€โ”€ main.tsx             # Application entry point
โ”‚   โ””โ”€โ”€ index.css            # Base styles
โ”œโ”€โ”€ public/                  # Static assets
โ”œโ”€โ”€ package.json            # Project dependencies
โ”œโ”€โ”€ vite.config.ts          # Vite configuration
โ””โ”€โ”€ README.md               # Project documentation

๐ŸŽฏ Key Components

Navigation System

  • Tab-based navigation with home, profile, and settings
  • Dynamic screen routing within the home tab
  • Mobile-optimized bottom navigation bar

Feature Screens

  • HomeScreen: Central hub with feature cards and quick actions
  • CropsScreen: Crop management and listing interface
  • BuyersScreen: Buyer discovery and communication platform
  • PricesScreen: Market analytics and price trend visualization
  • SchemesScreen: Government scheme browser and application tracker
  • KYCScreen: Digital farmer verification system

UI Components

Comprehensive set of accessible, customizable components:

  • Form controls (Input, Select, Checkbox, Radio)
  • Navigation (Tabs, Breadcrumb, Pagination)
  • Feedback (Alert, Toast, Progress)
  • Overlay (Dialog, Popover, Tooltip)
  • Data Display (Card, Table, Badge, Avatar)

๐ŸŒŸ Unique Value Proposition

  1. Direct Farmer-Buyer Connection - Eliminate middlemen markup
  2. Real-time Market Data - Make informed pricing decisions
  3. Government Scheme Integration - Easy access to subsidies and support
  4. Mobile-First Design - Optimized for smartphone usage
  5. Multilingual Support - Accessible to farmers across regions
  6. Offline Capability - Core features work without internet

๐Ÿ”ฎ Roadmap

  • Multi-language support (Hindi, regional languages)
  • Offline-first PWA capabilities
  • AI-powered crop disease detection
  • Weather integration and farming advisories
  • Blockchain-based crop traceability
  • Integration with agricultural banks for credit
  • Marketplace expansion to livestock and equipment

๐Ÿค Contributing

We welcome contributions to Kisan4Life! Please read our contributing guidelines and feel free to submit issues and enhancement requests.


Built with โค๏ธ for farmers by developers who care about agriculture and rural development.

About

๐ŸŒพ Empowering farmers through technology - A React/TypeScript platform connecting farmers directly with buyers, featuring real-time pricing, government schemes, and comprehensiveย farmingย tools

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •