1. Coding back-end logic
Building the backend consist of retrieving user's leftover name so that it could be selected and reinvent. This was a bit challanging for me as it was the first time I am using Firebase. Hence I did go through a lot of youtube tutorials and stackflow to help me retrieve the data. Eventually, I was able to do so by coding this function. The function bellow is basically a function that goes to the firebase database, retrieve user's UUID to fetch all their leftover data.
With the backend done, I begin developing the UI which was honestly quite difficult as I am passing a lot of data into the different screens. After a lot of organising and trial and error, i managed to get it the way I planned it on the past week.
2. Service Diagram
3. Filter Recipes Function
to ensure that the recipes displayed are only ones that include the selected ingredients, I developed this function:
4. Functional Demo




Post a Comment