Repository navigation
Releases: subash3650/AgriDirect
Releases · subash3650/AgriDirect
Release list
AgriDirect V-2.0
What's Changed
- change the project to microservices architecture by @subash3650 in #9
- Payment gateway by @subash3650 in #10
Full Changelog: V-1.0...V-2.0
V-1.0
🚀 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