Organic Connect is a modern web platform that bridges the gap between verified organic farmers and health-conscious consumers. Our mission is to promote transparency, education, and sustainable agriculture while fostering a community around genuine organic produce.
- π Marketplace: Browse and discover verified organic farmers
- π Smart Search: Filter farmers by location, crop type, and certifications
- β Reviews & Ratings: Read and write reviews for farmers
- π Wishlist: Save favorite farmers and products
- π Shopping Cart: Add products and manage orders
- π± WhatsApp Integration: Direct communication with farmers
- π¦ Order Tracking: Track order history and status
- π Certification Verification: View organic certifications
- π Easy Onboarding: Simple registration process with photo uploads
- π Dashboard: Manage orders and track business
- β Certification Display: Showcase organic certifications
- π Analytics: View customer interactions and reviews
- βοΈ Profile Management: Edit product listings and information
- π Admin Dashboard: Comprehensive platform analytics
- π¦ Order Management: Oversee all platform orders
- π₯ User Management: Monitor farmers and consumers
- β Review Moderation: Manage platform reviews
- π Learning Hub: Multi-language organic farming education
- π Internationalization: Support for English, Hindi, Punjabi, and Marathi
- π Best Practices: Guidelines for organic farming techniques
- Node.js (v16 or higher)
- npm or yarn package manager
-
Clone the repository
git clone https://github.com/Ayushpremrocks/Organic-Connect.git cd Organic-Connect -
Install dependencies
npm install
-
Set up environment variables Create a
.envfile in the root directory:VITE_EMAILJS_SERVICE_ID=your_emailjs_service_id VITE_EMAILJS_TEMPLATE_ID=your_emailjs_template_id VITE_EMAILJS_PUBLIC_KEY=your_emailjs_public_key
-
Start the development server
npm run dev
-
Open your browser Navigate to
http://localhost:5173
organic-connect/
βββ public/
β βββ back.jpg # Homepage background image
βββ src/
β βββ Components/
β β βββ Footer.jsx # Site footer
β β βββ Navbar.jsx # Navigation bar
β β βββ OrderForm.jsx # Order placement form
β β βββ ReviewForm.jsx # Review submission form
β β βββ ReviewList.jsx # Review display component
β βββ Context/
β β βββ CartContext.jsx # Shopping cart state management
β βββ Pages/
β β βββ About.jsx # About page
β β βββ AdminDashboard.jsx # Admin analytics dashboard
β β βββ AdminOrders.jsx # Admin order management
β β βββ AllOrders.jsx # Order listing page
β β βββ Cart.jsx # Shopping cart page
β β βββ Contact.jsx # Contact form
β β βββ Dashboard.jsx # Farmer dashboard
β β βββ FarmerOnboarding.jsx # Farmer registration
β β βββ Home.jsx # Homepage
β β βββ LearningHub.jsx # Educational content
β β βββ Login.jsx # User authentication
β β βββ Marketplace.jsx # Main marketplace
β β βββ OrderHistory.jsx # Order history page
β β βββ Profile.jsx # User profile management
β β βββ ResetDemo.jsx # Demo data reset
β β βββ Signup.jsx # User registration
β β βββ ThankYou.jsx # Thank you page
β β βββ Wishlist.jsx # User wishlist
β βββ Routes/
β β βββ PrivateRoute.jsx # Protected route component
β β βββ Routes.jsx # Route definitions
β βββ App.jsx # Main application component
β βββ index.css # Global styles
β βββ main.jsx # Application entry point
βββ eslint.config.js # ESLint configuration
βββ package.json # Dependencies and scripts
βββ tailwind.config.js # Tailwind CSS configuration
βββ vite.config.js # Vite build configuration
βββ README.md # Project documentation
- React 19.1.0: Modern UI library with latest features
- React Router DOM 7.7.0: Client-side routing
- TailwindCSS 4.1.11: Utility-first CSS framework
- React Icons 5.5.0: Icon library
- Vite 7.0.4: Fast build tool and development server
- ESLint 9.30.1: Code linting and formatting
- EmailJS 4.4.1: Contact form email functionality
- Three.js 0.178.0: 3D graphics (future enhancements)
- React Three Fiber: React renderer for Three.js
- i18next: Internationalization support
- Hot Module Replacement (HMR): Instant updates during development
- ES Modules: Modern JavaScript module system
- TypeScript Support: Ready for TypeScript migration
- Sign Up: Create a consumer account
- Browse Marketplace: Explore verified organic farmers
- Filter & Search: Find farmers by location or crop type
- Read Reviews: Check farmer ratings and reviews
- Add to Cart: Select products for purchase
- Place Orders: Complete your purchase
- Track Orders: Monitor order status
- Sign Up: Create a farmer account
- Complete Onboarding: Fill out your farm details
- Upload Certification: Add organic certification documents
- Add Photos: Showcase your farm and products
- Manage Orders: Track and fulfill customer orders
- Build Reputation: Receive and respond to reviews
- Monitor Platform: View comprehensive analytics
- Manage Users: Oversee farmer and consumer accounts
- Order Oversight: Monitor all platform transactions
- Content Moderation: Manage reviews and listings
For contact form functionality, configure EmailJS:
- Create an account at EmailJS
- Set up email service and template
- Add credentials to environment variables
# Development
npm run dev # Start development server
# Production
npm run build # Build for production
npm run preview # Preview production build
# Code Quality
npm run lint # Run ESLintnpm run buildnpm install -g vercel
vercel --prod- Connect your GitHub repository
- Set build command:
npm run build - Set publish directory:
dist
We welcome contributions to Organic Connect! Please follow these steps:
- Fork the repository
- Create a feature branch
git checkout -b feature/amazing-feature
- Commit your changes
git commit -m 'Add some amazing feature' - Push to the branch
git push origin feature/amazing-feature
- Open a Pull Request
- Follow existing code style and conventions
- Write descriptive commit messages
- Add comments for complex logic
- Test your changes thoroughly
- Cart persistence across sessions (planned enhancement)
- Real-time order updates (future feature)
- Mobile app version (roadmap item)
- β Basic marketplace functionality
- β User authentication
- β Farmer onboarding
- β Order management
- β Review system
- π Payment gateway integration
- π Real-time notifications
- π Mobile application
- π Advanced analytics
- π± IoT integration for farm monitoring
- π€ AI-powered crop recommendations
- π Global marketplace expansion
- π Blockchain certification tracking
This project is licensed under the MIT License - see the LICENSE file for details.
- Ayush Prem - Lead Developer
- Email: ayushpremrocks@gmail.com
- University: Chandigarh University, India
- Organic farmers who inspired this platform
- Open source community for amazing tools
- Environmental advocates promoting sustainable agriculture
- Email: ayushpremrocks@gmail.com
- Phone: +91 8421283412
- Location: Chandigarh University, India
Built with β€οΈ for sustainable agriculture and healthy communities.