Shopping List Generator
Meal prep made easy. Simplify the most difficult part of your weekly shop — the planning!
This web app simplifies the daunting task of meal prepping by generating a comprehensive shopping list based on your chosen meals. Simply build your favourite meals by listing their ingredients and their quantities, then common ingredients are combined into a single shopping list for you, with the ability to tick items off as you go.
Backend Architecture
The backend is built with Spring Boot and uses a MySQL database. The data model uses entities for meals, ingredients, and a composite key for the meal-ingredient relationship. The API handles CRUD operations for meals and their ingredients, with intelligent combination logic that aggregates common ingredients across selected meals.
React Frontend
The frontend is built with React, managing state for meal lists, ingredient data, and the generated shopping list. Users can add meals, select which ones to include in their weekly plan, and generate a combined shopping list. The interface allows ticking off items as they shop.