Skip to content

Gyanthakur/AgriConnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

107 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

agriConnect

🌱 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

image image image image image image image image image image

✨ Made with ❀️ by Gyan Pratap Singh ✨

🌐 Connect with Us

Contact Us: πŸ“² WhatsApp

GitHub Repository: Agriconnect

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors