{"id":20328917,"url":"https://github.com/gyanthakur/agriconnect","last_synced_at":"2025-03-04T11:47:02.615Z","repository":{"id":262503101,"uuid":"887329237","full_name":"Gyanthakur/AgriConnect","owner":"Gyanthakur","description":"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.","archived":false,"fork":false,"pushed_at":"2025-02-21T12:17:40.000Z","size":480,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T13:25:14.803Z","etag":null,"topics":["cors","expressjs","mongodb-atlas","mongoose","nodejs","reactjs","reactrouterdom","reacttoastify","tailwindcss","vitejs"],"latest_commit_sha":null,"homepage":"https://agri-connect-nu.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gyanthakur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-12T14:58:58.000Z","updated_at":"2025-02-21T12:17:44.000Z","dependencies_parsed_at":"2025-01-14T14:46:53.938Z","dependency_job_id":"8edae71d-4f6d-4d54-b78d-416dd5c5c3fb","html_url":"https://github.com/Gyanthakur/AgriConnect","commit_stats":null,"previous_names":["gyanthakur/agriconnect"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gyanthakur%2FAgriConnect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gyanthakur%2FAgriConnect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gyanthakur%2FAgriConnect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gyanthakur%2FAgriConnect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gyanthakur","download_url":"https://codeload.github.com/Gyanthakur/AgriConnect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241844286,"owners_count":20029611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cors","expressjs","mongodb-atlas","mongoose","nodejs","reactjs","reactrouterdom","reacttoastify","tailwindcss","vitejs"],"created_at":"2024-11-14T20:08:33.069Z","updated_at":"2025-03-04T11:47:02.595Z","avatar_url":"https://github.com/Gyanthakur.png","language":"JavaScript","readme":"\u003cdiv align=\"center\"\u003e\n   \n![agriConnect](https://github.com/user-attachments/assets/a7535a3d-f540-4fcc-9c18-46e0b080b6ca)\n\u003c/div\u003e\n\n# 🌱 Agriconnect\n\nAgriconnect 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.\n\n---\n\n## 🌟 Features\n\n- **Two Authentication Methods**: Farmer and Merchant Sign In/Sign Up powered by Clerk.\n- **Responsive Design**: Optimized for all devices.\n- **Interactive UI**: Modern components built with React and Tailwind CSS.\n- **Dashboard Pages**: Separate dashboards for Farmers and Merchants.\n- **Server API Integration**: RESTful APIs for farmers and merchants.\n\n---\n\n## ⚙️ Installation \u0026 Setup\n\n\n1. Clone this repository:\n   ```\n   git clone https://github.com/Gyanthakur/AgriConnect.git\n   ```\n\n\n## 🗂️ Project Structure\n   ```\nclient/\n│── src/\n│   ├── assets/                     # Images and other static assets\n│   ├── components/                 # Reusable components\n│   │   ├── FarmerDashboard.jsx     # Farmer Dashboard\n│   │   ├── MerchantDashboard.jsx   # Merchant Dashboard\n│   │   ├── Navbar.jsx              # Navigation Bar\n│   │   ├── Footer.jsx              # Footer Component\n│   ├── context/                    # Context API state management\n│   ├── pages/                      # Application Pages\n│   │   ├── FarmerLogin.jsx         # Farmer Login Page\n│   │   ├── MerchantLogin.jsx       # Merchant Login Page\n│   │   ├── Home.jsx                # Home Page\n│   │   ├── Services.jsx            # Services Page\n│   │   ├── About.jsx               # About Us Page\n│   │   ├── Contact.jsx             # Contact Page\n│   │   ├── Signup.jsx              # Signup Page\n│   ├── sign-up/                    # Reusable sign-up components\n│   ├── App.js                      # Main React Component\n│   ├── index.js                    # Entry Point\n│   ├── .env                        # Environment variables\n│   └── README.md                   # Project documentation\n```\n\n## Server Side (Backend)\n\n```\nServer/\n│── config/\n│   ├── mongoDb.js                  # MongoDB configuration\n│   ├── cloudinary.js               # Cloudinary config for image uploads\n│── controllers/\n│   ├── farmerController.js         # Farmer-specific controllers\n│   ├── merchantController.js       # Merchant-specific controllers\n│── middlewares/\n│   ├── authMerchant.js             # Middleware for merchant authentication\n│   ├── farmerUser.js               # Middleware for farmer user logic\n│   ├── multer.js                   # File upload configuration\n│── models/\n│   ├── farmerModel.js              # Farmer data model\n│   ├── merchantModel.js            # Merchant data model\n│── routes/\n│   ├── farmerRoute.js              # Farmer routes\n│   ├── merchantRoute.js            # Merchant routes\n│── server.js                       # Main server entry point\n│── .env                            # Environment variables\n│── package.json                    # Backend dependencies\n│── README.md                       # Documentation\n```\n\n## 📸 Preview\n![image](https://github.com/user-attachments/assets/0fe89c6e-0590-4b50-b325-996966de37c8)\n![image](https://github.com/user-attachments/assets/92bd9113-c27b-46a6-aaec-8cde7aa13792)\n![image](https://github.com/user-attachments/assets/1c40d5db-5574-4373-b57c-f42b2b7baa3a)\n![image](https://github.com/user-attachments/assets/b1df4983-db17-4f17-93a9-e7736c923585)\n![image](https://github.com/user-attachments/assets/525dbdc4-9a4a-468c-8de2-753bdcfe9719)\n![image](https://github.com/user-attachments/assets/fa943049-0985-4ab7-b942-12c706aa7386)\n![image](https://github.com/user-attachments/assets/a2dced20-cc69-42c4-827e-e39806a20e11)\n![image](https://github.com/user-attachments/assets/ffd1f8e4-55b8-494d-91c3-571d13e9960b)\n![image](https://github.com/user-attachments/assets/64509979-a490-48bd-a245-060a453d7424)\n![image](https://github.com/user-attachments/assets/447b13ab-ddf3-46ba-a6ff-e6f683b13b5a)\n\n\n## ✨ Made with ❤️ by Gyan Pratap Singh ✨\n\n## 🌐 Connect with Us\n\nContact Us:  📲\u003ca href=\"https://wa.me/918957818597?text=Hey%20%F0%9F%91%8B%2C%20how%20can%20I%20help%20you%3F\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/WhatsApp-Click%20Me-25D366?style=for-the-badge\u0026logo=whatsapp\" alt=\"WhatsApp\" /\u003e\n  \u003c/a\u003e\n\nGitHub Repository: [Agriconnect](https://github.com/Gyanthakur/AgriConnect.git)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgyanthakur%2Fagriconnect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgyanthakur%2Fagriconnect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgyanthakur%2Fagriconnect/lists"}