Inspiration
After realizing how much leftover food in restaurants was wasted and how many impoverished families could benefit from this food, we sought to create a platform to combat both these problems simultaneously.
What it does
The app grants restaurants the ability to post/donate leftover food for impoverished families to pick up for free.
How we built it
User/Login Authentication and Storage of Posts Information was handled via Firebase Automatic Email Sender created by MailCore Main Code/Frontend coded in Swift using XCode Cocoapods was used to access the Firebase and MailCore Library APIs
Challenges we ran into
Initially, MailCore was not able to connect to the server, but once we created our own SMTP Session which is a way to handle server-client responses. To allow the buttons which displayed the restaurants and meals provided in closest distance order, our initial idea was to use dictionaries to map distances to their documents in the Firebase database. However, this was extremely tedious and didn't work as well as we thought it would, so we used the built in function order() to do so.
Accomplishments that we're proud of
We're proud of the different APIs that we managed to incorporate into one seamless product to solve such a pertinent issue.
What we learned
Storage and User Authentication in Firebase How to Automatically send an email using MailCore
What's next for Gratisfaction
Making a chat system to allow people, not only restaurants, to donate food Use a content based filtering machine learning model to make a recommendation algorithm that suggests restaurants similar and complimentary to the restaurants they have chosen in the past
Log in or sign up for Devpost to join the conversation.