Commit Graph

13 Commits

Author SHA1 Message Date
Christopher C. Wells 99129e3c76 Create IngredientAmount class
This class will replace FoodAmount when it has proper support for
calculating nutrients for FoodAmount and Recipe combinations.
2021-01-22 22:02:20 -08:00
Christopher C. Wells 2dd92c8d3a Refactor "ingredients" as "foods" 2020-12-30 15:06:22 -08:00
Christopher C. Wells aa9b504653 Add JSON:API via `cloudcreativity/laravel-json-api` 2020-12-22 22:16:18 -08:00
Christopher C. Wells 00eb252995 Use overloading in Recipe class 2020-12-22 20:07:24 -08:00
Christopher C. Wells 3060bdbb7c Add support for sodium and cholesterol tracking 2020-12-22 19:55:33 -08:00
Christopher C. Wells e3e84c2e13 Add nutrients per serving methods to Recipe 2020-12-22 15:15:41 -08:00
Christopher C. Wells 013baa88fc Refactor on base 100g unit 2020-12-22 15:08:49 -08:00
Christopher C. Wells 2d1990d415 Add RecipeStep model 2020-12-21 21:23:38 -08:00
Christopher C. Wells 361d3b3a07 Add nutrient sum methods to IngredientAmount and Recipe 2020-12-21 20:56:23 -08:00
Christopher C. Wells 978a3088c4 Add unit support to IngredientAmount 2020-12-21 20:24:47 -08:00
Christopher C. Wells 790e1af828 Add example total calories getter 2020-12-21 19:38:58 -08:00
Christopher C. Wells d54ad13460 Add Recipe model 2020-12-21 15:25:10 -08:00
Christopher C. Wells a4cc3c3f65 Add IngredientAmount model 2020-12-21 13:59:05 -08:00