{"id":19806305,"url":"https://github.com/joywin2412/agro-vision","last_synced_at":"2025-10-07T06:43:57.140Z","repository":{"id":182075474,"uuid":"656041295","full_name":"Joywin2412/Agro-Vision","owner":"Joywin2412","description":"Multiservice app with Crop Yield Prediction built using Django , React and Node. ","archived":false,"fork":false,"pushed_at":"2024-07-28T08:46:29.000Z","size":8809,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-18T04:47:22.878Z","etag":null,"topics":["agriculture","ai","chatbot","crop-recommendation","crop-yield-prediction","e-commerce-website","farmers","flask","machine-learning","mern-stack","nlp","nodejs","reactjs"],"latest_commit_sha":null,"homepage":"https://64d48840d96ec63820319934--agrovisionexplore.netlify.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/Joywin2412.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-20T06:34:54.000Z","updated_at":"2025-07-12T07:24:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"b12b1f8c-77fd-4974-b0d0-27c1abbbd0d8","html_url":"https://github.com/Joywin2412/Agro-Vision","commit_stats":null,"previous_names":["joywin2412/agro-vision"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Joywin2412/Agro-Vision","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joywin2412%2FAgro-Vision","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joywin2412%2FAgro-Vision/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joywin2412%2FAgro-Vision/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joywin2412%2FAgro-Vision/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Joywin2412","download_url":"https://codeload.github.com/Joywin2412/Agro-Vision/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joywin2412%2FAgro-Vision/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278734434,"owners_count":26036404,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["agriculture","ai","chatbot","crop-recommendation","crop-yield-prediction","e-commerce-website","farmers","flask","machine-learning","mern-stack","nlp","nodejs","reactjs"],"created_at":"2024-11-12T09:07:12.415Z","updated_at":"2025-10-07T06:43:57.120Z","avatar_url":"https://github.com/Joywin2412.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AgroVision\n![image](https://github.com/user-attachments/assets/4cfa289b-ec66-491c-b2f1-f7d8bc60e22f)\n\n\nFor the Machine Learning / AI part refer this : https://github.com/Joywin2412/Flask-Chat-Bot-and-Crop-Prediction-\n\n\n# GFG-Hackathon\nTechnologies used :  MongoDB , Node.js , Express.js\n, React.js , React-router-dom , JWT , Bcrypt , React-Leaflet\n\n\n# Signup \nMade a user schema for this. Made extra restriction on the basis of \n1) If name ,email , password or phone is missing\n2) If password is not the same as confirm Password field\n\u003cimg width=\"552\" alt=\"Screenshot 2023-04-26 162107\" src=\"https://user-images.githubusercontent.com/78720314/234554088-2d195ebc-0244-4f92-b0d9-c0110ae42256.png\"\u003e\n\nData is stored in the user schema. Address is taken from the user to provide the latitude and \nlongitude for our further api calls. The more accurate the address is the more accurate the location is.\n\n# Login \nCheck the password with respect to the email provided.\nMade extra restriction on the basis of \n1) If name ,email is missing\n\n\u003cimg width=\"559\" alt=\"image\" src=\"https://user-images.githubusercontent.com/78720314/234553860-c6ee08c0-24bc-4231-880f-aeef6bbb3e6c.png\"\u003e\n\n\nIn both signup and login , useNavigate() from react-router-dom is taken\n\n# Home \n\n\u003cimg width=\"905\" alt=\"Screenshot 2023-04-25 190820\" src=\"https://user-images.githubusercontent.com/78720314/234295051-58adcf7c-42cb-45fa-8d71-17381bfb4a63.png\"\u003e\n\nGuest Login : If the user is not signed in the profile feature would not be available to him.\nAlso if you are guest it will show signup to access when you access resource in home. You can check the\noptimal crops in your region. \n\nAs a logged in user you can check the optimal crops and also assess which crops should you grow and the\nmethods for it.\nWhen a user registers for the first time , the polygon boundary is set in the polygon model.\n\nIf a user is first in that polygon boundary the user becomes the parent user with the polygon boundaries\nand the polygon is uniquely identified with the help of an id which is implemented with email and useId \nhook in react.\nHowever if a user is present inside a polygon already created he gets assigned that same id which groups\nthe farmers under one polygon.\nThe key idea is the soil temperature is almost constant across a small polygon which will make our data\nmore reliable and foster relevant advices through the medium of farmers phone.\n\n\n\u003cimg width=\"882\" alt=\"Screenshot 2023-04-25 190851\" src=\"https://user-images.githubusercontent.com/78720314/234297088-09b777ad-b5b6-42d6-892d-32b81ce0f6d5.png\"\u003e\n\n\n## Navbar \nA person will be able to navigate to different pages using react-router-dom. A person will\nbe able to navigate to his own profile using this. Logout , login feature implemented. Local storage \nadded so as to store the data when a user reloads.\n\n\n# Weather forecast \n\u003cimg width=\"862\" alt=\"Screenshot 2023-04-25 191415\" src=\"https://user-images.githubusercontent.com/78720314/234297979-ce144a2f-e0bc-4dee-a173-8aec0bdbd5bd.png\"\u003e\n\nThe weather data will be available to both guests and the logged in users.\n\n# Local crops\nThe farmer will be able to see all the farmers in the polygon. And on the popup of the\nmap the person navigates to the profile. This is implemented with the help of react-leaflet and also\nusing useNavigate from react-router-dom.\n\u003cimg width=\"920\" alt=\"Screenshot 2023-04-25 191300\" src=\"https://user-images.githubusercontent.com/78720314/234297589-694d303d-2eca-4c94-9bfc-75da59ec12a1.png\"\u003e\n\n\nIn order to incentivize the farmers to input what crops they are growing , the crop button are only \nvisible after filling the form in the profile. After filling the form in the profile the user will\nbe able to see what crops the farmers in their polygon are growing and suitably grow their crops and \nassess market needs.\n\n\nThis is implemented using the cropsSchema in order to obtain the form data. \nIn the profile , friends feature is implemented which will be explained in the profile paragraph. If\na user is friend then they will be able to see their phone number. In order to reduce the loading\ntime , hashing is done using the email key as it is unique.\n\n# Stores \n\n\u003cimg width=\"887\" alt=\"Screenshot 2023-04-25 191342\" src=\"https://user-images.githubusercontent.com/78720314/234297876-88954081-ae79-4998-bc3f-880f1a027d92.png\"\u003e\n\nThe farmer will be able to see the stores nearby which is done using an api call. The parameters\nwhich were used in the api call is latitude and longitude. The map is shown using react-leaflet and\nopenStreet Map. This will help the farmers to assess how far the stores are. Also the farmers will\nbe able to see which agricultural supplies to buy from.\n\n# Profile \nName , email ,phone of the current user is visible. If a user is friend then the user will\nbe able to see their phone number. The friends feature is implemented using the friendsSchema in \nmongoDB. A form is done to incentivize the farmers as mentioned above. The friends feature include:\n\n\u003cimg width=\"852\" alt=\"Screenshot 2023-04-25 191228\" src=\"https://user-images.githubusercontent.com/78720314/234297396-ba2ad501-a07e-4fb0-a1ce-b532e420ddd6.png\"\u003e\n\n1) People around you (Querying the database to find the users on basis of polygon id)\n2) Notifications (If a person sends you a friend request)\n3) Friends (This includes the friends made)\nThe basic feature of implementing friends is to secure the farmers data and to show phone number of \neach other if they are friend.\n\n# Other Profile \n\n\u003cimg width=\"887\" alt=\"Screenshot 2023-04-25 191325\" src=\"https://user-images.githubusercontent.com/78720314/234297770-7e4ede0e-59dc-49c0-8ca3-722df3f56f27.png\"\u003e\n\nIf a user navigates to other profile either from friends or from map in local crops. \nA user will be able to see the phone only if the user is a friend. To speed up we have used hashing \nof the friends email. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoywin2412%2Fagro-vision","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoywin2412%2Fagro-vision","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoywin2412%2Fagro-vision/lists"}