Agriconnect is a modern, full-stack web application designed to streamline agricultural services for farmers and merchants. It provides dedicated Farmer Login and Merchant Login pages with features tailored for their needs.
- Two Authentication Methods: Farmer and Merchant Sign In/Sign Up powered by Clerk.
- Responsive Design: Optimized for all devices.
- Interactive UI: Modern components built with React and Tailwind CSS.
- Dashboard Pages: Separate dashboards for Farmers and Merchants.
- Server API Integration: RESTful APIs for farmers and merchants.
- Clone this repository:
git clone https://github.com/Gyanthakur/AgriConnect.git
client/
βββ src/
β βββ assets/ # Images and other static assets
β βββ components/ # Reusable components
β β βββ FarmerDashboard.jsx # Farmer Dashboard
β β βββ MerchantDashboard.jsx # Merchant Dashboard
β β βββ Navbar.jsx # Navigation Bar
β β βββ Footer.jsx # Footer Component
β βββ context/ # Context API state management
β βββ pages/ # Application Pages
β β βββ FarmerLogin.jsx # Farmer Login Page
β β βββ MerchantLogin.jsx # Merchant Login Page
β β βββ Home.jsx # Home Page
β β βββ Services.jsx # Services Page
β β βββ About.jsx # About Us Page
β β βββ Contact.jsx # Contact Page
β β βββ Signup.jsx # Signup Page
β βββ sign-up/ # Reusable sign-up components
β βββ App.js # Main React Component
β βββ index.js # Entry Point
β βββ .env # Environment variables
β βββ README.md # Project documentation
Server/
βββ config/
β βββ mongoDb.js # MongoDB configuration
β βββ cloudinary.js # Cloudinary config for image uploads
βββ controllers/
β βββ farmerController.js # Farmer-specific controllers
β βββ merchantController.js # Merchant-specific controllers
βββ middlewares/
β βββ authMerchant.js # Middleware for merchant authentication
β βββ farmerUser.js # Middleware for farmer user logic
β βββ multer.js # File upload configuration
βββ models/
β βββ farmerModel.js # Farmer data model
β βββ merchantModel.js # Merchant data model
βββ routes/
β βββ farmerRoute.js # Farmer routes
β βββ merchantRoute.js # Merchant routes
βββ server.js # Main server entry point
βββ .env # Environment variables
βββ package.json # Backend dependencies
βββ README.md # Documentation
GitHub Repository: Agriconnect










