{"id":19356282,"url":"https://github.com/srijitabaksi/agri-connect","last_synced_at":"2026-05-19T06:05:22.712Z","repository":{"id":261912426,"uuid":"885702090","full_name":"SrijitaBaksi/Agri-Connect","owner":"SrijitaBaksi","description":"AgriConnect:Where Farmers Meet Experts \u0026 Technology for a Greener Future!  AgriConnect is your ultimate one-stop platform designed to empower farmers by giving them everything they need to grow and thrive. From AI-based personalized recommendations to direct access to world-class expertsvia video calls and appointments.","archived":false,"fork":false,"pushed_at":"2024-11-11T05:14:14.000Z","size":865,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T02:19:16.318Z","etag":null,"topics":["best-use-of-github","best-use-of-mongodb-atlas","gemini-api","github","google-for-developers","hack-this-fall-2024-virtual","hackthisfall","mongodb-atlas","project-built-using-gemini"],"latest_commit_sha":null,"homepage":"https://weather-b6e3.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/SrijitaBaksi.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-09T06:49:02.000Z","updated_at":"2025-03-23T05:34:27.000Z","dependencies_parsed_at":"2024-11-09T08:17:06.721Z","dependency_job_id":"9e8d68f5-82fc-417d-8b5a-73aac216382a","html_url":"https://github.com/SrijitaBaksi/Agri-Connect","commit_stats":{"total_commits":69,"total_committers":5,"mean_commits":13.8,"dds":0.4782608695652174,"last_synced_commit":"d253f11a5a38e8ee5cb20872eaf963d4670f5754"},"previous_names":["srijitabaksi/agri-connect"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SrijitaBaksi/Agri-Connect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrijitaBaksi%2FAgri-Connect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrijitaBaksi%2FAgri-Connect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrijitaBaksi%2FAgri-Connect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrijitaBaksi%2FAgri-Connect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SrijitaBaksi","download_url":"https://codeload.github.com/SrijitaBaksi/Agri-Connect/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrijitaBaksi%2FAgri-Connect/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265499872,"owners_count":23777365,"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":["best-use-of-github","best-use-of-mongodb-atlas","gemini-api","github","google-for-developers","hack-this-fall-2024-virtual","hackthisfall","mongodb-atlas","project-built-using-gemini"],"created_at":"2024-11-10T07:03:46.589Z","updated_at":"2026-05-19T06:05:22.707Z","avatar_url":"https://github.com/SrijitaBaksi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AgriConnect: Where Farmers Meet Experts \u0026 Technology for a Greener Future! 🌾\r\n\u003cimg width=\"1907\" height=\"860\" alt=\"image\" src=\"https://github.com/user-attachments/assets/b72159b4-d82b-4a84-95c6-d7372b13055e\" /\u003e\r\n\r\n\u003cimg width=\"1919\" height=\"863\" alt=\"image\" src=\"https://github.com/user-attachments/assets/d5a50f3b-e49a-4140-8745-78fded260535\" /\u003e\r\n\r\n\u003cimg width=\"1903\" height=\"868\" alt=\"image\" src=\"https://github.com/user-attachments/assets/66c912cb-a6e3-42c0-b6c1-088b5f267f5e\" /\u003e\r\n\r\n\r\n**AgriConnect** is an innovative platform designed to empower farmers by connecting them with agricultural experts and modern technology. Our goal is to make farming smarter, more efficient, and more sustainable. By integrating AI-powered crop recommendations, real-time weather updates, expert consultations, and effective task management, we aim to revolutionize the way farming is done.\r\n\r\n## 🚀 Features and Functionalities\r\n\r\n### 1. **Instant Access to Experts** 🎥\r\n   - **What it does:** Get real-time assistance from top agricultural experts via chat or video calls.\r\n   - **How it works:** Farmers can book video consultations or chat with experts, receiving personalized advice for crop management, pest control, irrigation methods, and more.\r\n   - **Technology Used:** WebRTC for real-time video calls and socket.io for chat functionality.\r\n\r\n### 2. **The Ultimate Farming Hub** 🌱\r\n   - **What it does:** Stay updated with the latest farming news, expert advice, and tech advancements—all in one place.\r\n   - **How it works:** AgriConnect aggregates agricultural news, expert articles, and the latest farming trends to keep farmers informed about the world of agriculture.\r\n   - **Technology Used:** React.js for the frontend, MongoDB for storing articles and news data.\r\n\r\n### 3. **Simplified Task Scheduling \u0026 Planning** 📅\r\n   - **What it does:** Manage farming tasks with goal-based scheduling, keeping track of deadlines and pending work.\r\n   - **How it works:** Farmers can create, track, and complete tasks through interactive goal-based scheduling charts, ensuring their daily and monthly objectives are met.\r\n   - **Technology Used:** Node.js for backend scheduling logic and chart.js for visual task tracking.\r\n\r\n### 4. **Crop Management \u0026 Yield Tracking** 🌾\r\n   - **What it does:** Visualize crop growth and track historical yield data.\r\n   - **How it works:** Through interactive graphs and charts, farmers can monitor the progress of their crops and see trends over time, helping them make informed decisions about their crops and irrigation needs.\r\n   - **Technology Used:** MongoDB for storing crop data and chart.js for real-time visualization.\r\n\r\n### 5. **Weather Alerts \u0026 Recommendations** ☔\r\n   - **What it does:** Receive real-time weather updates and actionable recommendations.\r\n   - **How it works:** Based on the farmer's region, the app sends out weather alerts (like storms or drought warnings) and personalized tips on how to adjust farming practices in response.\r\n   - **Technology Used:** Weather APIs (like OpenWeather) for real-time data, Node.js for processing, and push notifications.\r\n\r\n### 6. **Personalized Crop Recommendations with Gemini AI** 🌟\r\n   - **What it does:** Get AI-powered crop recommendations based on your farm's specific conditions.\r\n   - **How it works:** By feeding information about your farm's soil quality, pest issues, and climate, Gemini AI generates tailored suggestions for crop choices, irrigation practices, and pest management.\r\n   - **Technology Used:** Gemini AI API for personalized crop recommendations.\r\n\r\n### 7. **Income \u0026 Revenue Management** 💵\r\n   - **What it does:** Keep track of farm income, expenses, and profitability.\r\n   - **How it works:** Farmers can record their income from crops and sales, track their expenses, and manage finances through a user-friendly dashboard.\r\n   - **Technology Used:** MongoDB for data storage, React.js for frontend display.\r\n\r\n## 🛠️ Technologies Used\r\n\r\n- **Frontend:**\r\n  - **React.js** – A JavaScript library for building interactive user interfaces.\r\n  - **Chart.js** – For rendering interactive graphs and charts.\r\n  - **WebRTC** – For real-time video calling.\r\n  \r\n- **Backend:**\r\n  - **Node.js** – JavaScript runtime for building the backend.\r\n  - **Express.js** – Web framework for Node.js, used to build APIs and manage routes.\r\n  - **Socket.io** – Real-time communication for chat and live updates.\r\n  - **MongoDB** – NoSQL database to store user data, crop info, task schedules, and more.\r\n  \r\n- **Third-party APIs:**\r\n  - **Gemini AI** – For personalized crop recommendations.\r\n  - **OpenWeather API** – For real-time weather data.\r\n\r\n  ## 🚀 Future Scope\r\n\r\nAgriConnect aims to continuously evolve and integrate more features to enhance the farming experience. Here are some of the key areas where we plan to take the app further:\r\n\r\n1. **Seamless Video Calls \u0026 Real-Time Chat**  \r\n   We aim to enhance the communication experience by integrating a smoother, more efficient video call and real-time chat feature for farmers to interact with experts. This will provide more personalized, live consultations and quick resolutions for any farming-related queries.\r\n\r\n2. **Advanced AI-Powered Recommendations**  \r\n   In the future, we plan to integrate advanced AI models that will analyze more diverse data sources like satellite imagery and weather forecasts to give even more precise, location-specific crop recommendations and environmental insights.\r\n\r\n3. **Smart Farm Management Tools**  \r\n   We want to incorporate tools for farmers to manage their farms more effectively, including automated irrigation systems, smart soil moisture sensors, and crop health monitors. These features will provide farmers with actionable data to optimize crop yields.\r\n\r\n4. **Community Features \u0026 Farmer Networks**  \r\n   We plan to introduce social and community features where farmers can interact, share tips, and collaborate on farming best practices. This will also help farmers create networks of support for better decision-making.\r\n\r\n5. **Integration with IoT Devices**  \r\n   Integrating IoT sensors to monitor soil health, weather conditions, and crop status in real-time. This data can be fed into the app to give farmers live updates and predictions for better crop management.\r\n\r\n6. **Language Support \u0026 Regional Customization**  \r\n   Adding support for multiple languages to cater to farmers from diverse regions, along with localized farming practices and crop data tailored to specific geographic areas.\r\n\r\n---\r\n\r\n## 🛠 Challenges We Faced\r\n\r\nDuring the development of AgriConnect, we encountered a few hurdles that required creative problem-solving:\r\n\r\n1. **CORS Issues**  \r\n   We faced multiple challenges with CORS (Cross-Origin Resource Sharing) errors when connecting the frontend to the backend. This required fine-tuning our server configurations to ensure smooth communication between the client and server.\r\n\r\n2. **Socket Integration for Video Calls \u0026 Real-Time Chat**  \r\n   Integrating WebSocket for real-time chat and video calls proved difficult, especially when synchronizing events between the user interface and server. Ensuring reliable connections and timely notifications required extra testing and debugging.\r\n\r\n3. **Gemini API Integration**  \r\n   The integration of the Gemini API for AI-powered crop recommendations was initially complex. We had to carefully structure and test the data flow to ensure accurate recommendations for farmers based on their farm conditions.\r\n\r\n4. **Task Scheduling \u0026 Notifications**  \r\n   We ran into issues with scheduling tasks and sending timely notifications to farmers. Ensuring that notifications for task deadlines, expert appointments, and weather alerts were accurate and timely was a significant challenge.\r\n\r\n5. **User Authentication \u0026 Session Management**  \r\n   Implementing a robust user authentication system that could handle different user roles (admin, experts, farmers) while maintaining security and smooth transitions was another challenge we had to work through.\r\n\r\n6. **Optimizing the App for Mobile**  \r\n   Given that most farmers will access the app on mobile devices, optimizing the app’s performance and user interface for different screen sizes was a key challenge that we overcame by implementing responsive design principles.\r\n\r\n---\r\n\r\nThis is just the beginning for AgriConnect, and we are excited about its future. Each challenge we faced has made the app stronger, and we look forward to implementing these new features and improvements to make farming smarter and more sustainable. 🌱\r\n\r\n  \r\n\r\n## ⚙️ How to Clone \u0026 Run the Project\r\n\r\n### Use chatterjeeanata091@gmail.com and password Ananta@20102002 for siging in to an existing farmer profile to check how thw stats are working and displayed similarly sign in through srijita@gmail.com and password 123456 for seeing the stats and working of an existing expert profile\r\n\r\n1. **Clone the Repository:**\r\n\r\n   ```bash\r\n   git clone https://github.com/your-username/agriconnect.git\r\n   ```\r\n2. **Install Dependencies:**\r\n\r\n   Navigate into the project directory and install the required dependencies.\r\n\r\n   ```bash\r\n   cd agriconnect\r\n   npm install\r\n   ```\r\n3.**Set up Environment Variables:**\r\n\r\n  Create a .env file in the root directory and add the necessary variables, such as API keys for Gemini AI and OpenWeather, and database credentials for MongoDB.  \r\n\r\n  ```bash\r\n   GEMINI_API_KEY=your-api-key\r\n   OPENWEATHER_API_KEY=your-api-key\r\n  MONGODB_URI=your-mongodb-uri\r\n ```\r\n4. **Start the Development Server:**\r\n\r\n  Run the following command to start the backend and frontend servers:\r\n  ```bash\r\n   npm run dev\r\n  ```\r\n5.**Access the Application:**\r\n\r\n Open your browser and go to http://localhost:5173 to view the AgriConnect app.\r\n\r\n ## 📺 Video Demo\r\n\r\nWatch the demo of AgriConnect in action here:  \r\n[AgriConnect Demo Video](https://youtu.be/hSKtcfGDbI8)\r\n\r\n## 🤝 Contributing\r\n\r\nWe welcome contributions to AgriConnect! If you have ideas to enhance the app or find bugs, feel free to open an issue or submit a pull request.\r\n\r\n## 📄 License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\r\n\r\n---\r\n\r\n**AgriConnect: Empowering farmers with technology for a greener, smarter future!** 🌱\r\n\r\n\r\n   \r\n\r\n   \r\n\r\n\r\n## This repo is participating in Hack This Fall 2024 virtual online 36 hr hackathon and  in the following challenges \r\n- **Best use of github**\r\n- **Best use of Gemini APi**\r\n- **Best use of MongoDb Atlas**\r\n- **Best first time hackers**\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrijitabaksi%2Fagri-connect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrijitabaksi%2Fagri-connect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrijitabaksi%2Fagri-connect/lists"}