I was inspired after trying a hydroponic vertical garden and reading their mission statement. Trying gardening showed me how growing produce can bring someone closer to the earth, and help promote food independence and healthier diets. Understanding the shortcomings of our modern agricultural system and its impact on climate science gave greater context and the need for more solutions towards decentralized agriculture.
What it does
This is the start of LettuceSwap, a localized market that financially incentivizes and allows people to become farmer-merchants. Separating the users into local regions, each region is allowed to place bids or asks on different vegetables. Currently the infrastucture for the individual plant market is complete, and locations are being gathered to see where a local produce market might be possible. Also, the evaluation of how much emissions are saved by the platform is in beginning stages.
How we built it
LettuceSwap is built on the MERN stack, with MongoDB, ExpressJS, ReactJS, and NodeJS. The chart is using a node module, ChartJS. I started with a vision in mind, so I just built whatever infrastucture was needed to accomplish it.
Challenges we ran into
This was my first large-scale inter-related database in NoSQL and the database design took some thought. It was also my first large React app which involved many interconnected components so it took some time to understand at what levels certain States should live.
Accomplishments that we're proud of
I am proud of LettuceSwap as it is my largest project to date and it is one that I entirely wrote, using almost everything I have learned in the MERN stack to date. I'm proud of my adherance to Clean Code principles and modularity across the backend and frontend.
What I learned
I learned that it is important to do things right the first time as it is often the solution that will end up working the best, and it avoids double work. It is just about doing that iteratively in a way that surfaces bugs quickly.
What's next for LettuceSwap
My next area of focus would be the plant growing aspect that helps the market integrate with the users growth of produce. Users can let the app now when they begin growing a plant, and the app can help manage the growth, predict the optimal harvest date, and use that future harvest date to show predictive supply for market demand.