https://github.com/gyanthakur/agriconnect
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.
https://github.com/gyanthakur/agriconnect
cors expressjs mongodb-atlas mongoose nodejs reactjs reactrouterdom reacttoastify tailwindcss vitejs
Last synced: about 1 year ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/gyanthakur/agriconnect
- Owner: Gyanthakur
- Created: 2024-11-12T14:58:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-21T12:17:40.000Z (about 1 year ago)
- Last Synced: 2025-02-21T13:25:14.803Z (about 1 year ago)
- Topics: cors, expressjs, mongodb-atlas, mongoose, nodejs, reactjs, reactrouterdom, reacttoastify, tailwindcss, vitejs
- Language: JavaScript
- Homepage: https://agri-connect-nu.vercel.app
- Size: 469 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# 🌱 Agriconnect
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.
---
## 🌟 Features
- **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.
---
## ⚙️ Installation & Setup
1. Clone this repository:
```
git clone https://github.com/Gyanthakur/AgriConnect.git
```
## 🗂️ Project Structure
```
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 Side (Backend)
```
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
```
## 📸 Preview










## ✨ Made with ❤️ by Gyan Pratap Singh ✨
## 🌐 Connect with Us
GitHub Repository: [Agriconnect](https://github.com/Gyanthakur/AgriConnect.git)