Skip to content

Releases: subash3650/AgriDirect

AgriDirect V-2.0

Choose a tag to compare

@subash3650 subash3650 released this 06 Feb 09:42

What's Changed

Full Changelog: V-1.0...V-2.0

V-1.0

V-1.0 Pre-release
Pre-release

Choose a tag to compare

@subash3650 subash3650 released this 29 Jan 05:12
6d81cdc

🚀 AgriDirect v1.0.0 - Farm-to-Consumer Marketplace

📅 Release Date: January 2024

Status: Stable | Version: 1.0.0


🌟 What's New

🎯 Core Marketplace Features

  • Farmer Registration & Dashboard: Farmers can create accounts, list products, and manage inventory
  • Buyer Registration & Shopping: Buyers can browse products, add to cart, and place orders
  • Direct Farmer-Buyer Connection: Eliminates middlemen for better prices

📦 Order Management System

  • Multi-Vendor Order Splitting: Single cart with items from multiple farmers creates separate orders
  • Order Status Tracking: Pending → Processing → Shipped → Delivered
  • OTP Delivery Verification: Secure delivery confirmation system
  • Order History: Both farmers and buyers can view past transactions

🗺️ Location-Based Services

  • Geolocation Support: Farmers and buyers can set their locations
  • Distance Calculation: Shows approximate distance between farmer and buyer
  • Route Visualization: Basic location mapping for deliveries

⭐ Review & Rating System

  • Product Reviews: Buyers can rate and review purchased products
  • Review Validation: Only delivered orders can be reviewed
  • Average Ratings: Farmers see aggregated product ratings

🔐 Security Features

  • JWT Authentication: Secure login with JSON Web Tokens
  • Password Encryption: BCrypt password hashing
  • Role-Based Access: Separate farmer and buyer dashboards

🛠️ Technical Highlights

Backend (Node.js + Express)

  • RESTful API with MVC architecture
  • MongoDB with Mongoose ODM
  • Socket.io for real-time updates
  • File upload support for product images

Frontend (React)

  • Responsive design with React Bootstrap
  • Context API for state management
  • React Router for navigation
  • Axios for API calls
  • Leaflet/OpenStreetMap integration

Database (MongoDB)

  • Optimized schemas for farmers, buyers, products, and orders
  • Geospatial indexing for location queries
  • Referential integrity with cascade delete

📋 Installation & Setup

Quick Start

# Clone repository
git clone https://github.com/subash3650/AgriDirect.git

# Install dependencies
cd AgriDirect
npm install

# Set up environment variables
cp .env.example .env
# Edit .env with your configuration

# Run the application
npm run dev