With working from home on the rise and restrictions on dining at restaurants, cooking at home has become a routine in many people’s lives. Oftentimes it is hard to plan your grocery haul and what to eat for the next day, but this application will help users find recipes, favorite those that they like and plan the meals out!
We used the following API to load our databases with delicious food: https://rapidapi.com/spoonacular/api/recipe-food-nutrition/endpoints
There were many major hurdles that we experienced while working on this project, one of them being the set up for our database. We were having issues with the database because the join table, "favorites", was not having its own primary key; and to fix this we went into the migration file and added that as an attribute. Along with that we were also not able to access repeating days in the table, so raw SQL was written into the code to retrieve the information.
Another hurdle we had was having the application layout be the way that we planned it to be. The recipe card, navigation bar, and dashboard had a lot fo trial and error with CSS to have it be designed we had envisioned for it.
A current unsolved problem that we have is to make the application more responsive to different screen sizes.
We want the application to have additional features that allow users to have a more seamless planning process for their meals. We want to add the ability to compile a shopping list consisting of all the ingredients in their weekly planned meals. We also want to add a community component to the application that allows users to communicate and share recipes as well and comment and rate them. Additionally, we want to be able to fetch data directly from the API instead of relying on the seeded information in the database.