Inspiration

As our team was searching for solutions for problems, we found out that over 1/3 of all food is wasted. Companies just don't have the incentive to sell their spoiling food at lower prices. We realized we needed an innovative solution to incentivize companies to sell their spoiling food, Green Eats.

What it does

Green Eats features food listings of spoiling food on a website, which buyers can easily access. Sellers can also post listings of spoiled food, which will be stored in a JSON file and reviewed by the team to be added to the website.

How we built it

Green Eats is comprised of a front-end website made of Javascript, CSS, and HTML. We used Node.js and express.js for the back-end. We also used Geolocation API to get the latitude and longitude of the seller to accurately determine their listing location.

Challenges we ran into

One big challenge was one of our team members was in a different time zone than us, so we had a hard time collaborating and communicating with them. Also, no one on our team had experience with back-end to make a webserver, meaning we spent a long time learning how to create a webserver and linking back-end with front-end.

Accomplishments that we're proud of

We got the backend and the front end to work together as well as setting up a database. Included a location for longitude and latitude for finding the nearest restaurants in your area

What we learned

We learned express.js to create webservers, and the main HTTP method requests, such as GET and POST. We also learned how to use form data in HTML and send it back to back-end for increased functionality. Some things were completely new to us, such as Geolocation API and .ejs files, but we managed to learn how they work and how we could use them.

What's next for Green Eats

Next steps are polishing up the design of the website. We could also include some machine learning algorithms to collect data and find the nearest route to a restaurant. Finding other ways we can in order to reduce as much food waste as possible is something else we could do

Built With

Share this project:

Updates