Inspiration
Food waste is at an all time high and will continue to increase, fuelled by harmful industrial farming practices and fastidious crop selection processes for entering commercial market. Farming, both agricultural and animal, produces an immense amount of carbon pollution on a yearly basis that when left to rot, negatively impacts the environment for quite literally zero benefit.
What it does
Farmer's Friend is essentially a commerce platform where famers can list out surplus produces and 'ugly' products that companies choose not to take to commercial markets at a cheaper price for consumers to purchase. The web app also provides an AI recipe generation based off of produces with the highest quantity currently being listed on the platform in order to match seasonal crop surplus in real time.
How we built it
Farmer's Friend is a MERN stack web application. It uses MongoDB to store the listings and uses Express to create API endpoints for access from the React frontend. The recipes are created through sorting the array of listings by quantity and then feeding the prompt into the OpenAI API, generating a recipe.
Challenges we ran into
The biggest challenges for this project was implementing the various requests (post, patch, get) in the front and backend of the project to interact with the database.
What we learned
The MERN stack was new to most of the team so we learned a little bit of each of the technologies used (Node, Express, Mongo, React), how the frontend of an application interacted with the backend,
What's next for Farmer's Friend
A future feature that could continue to help the environment is to use coordinate data in order to determine farming locations that are closer to consumer location. This way, emissions arising from transportation of goods can be minimized substantially.
Built With
- express.js
- javascript
- marked
- mongodb
- node.js
- openai
- vite

Log in or sign up for Devpost to join the conversation.