- https://stackoverflow.com/questions/12413705/parsing-natural-language-ingredient-quantities-for-recipes/12426038
- https://stackoverflow.com/questions/10909433/efficient-regex-to-split-ingredient-measures-and-units
- http://mathjs.org/docs/datatypes/fractions.html
- https://www.npmjs.com/browse/keyword/fraction
- https://www.npmjs.com/package/fractional-arithmetic
- https://www.npmjs.com/package/fractions
- https://www.npmjs.com/package/mathjs
- https://github.com/yisibl/num2fraction
Examples:
-
http://www.calcul.com/show/calculator/cooking-conversion (!)
-
http://spiekermann.com/en/wp-content/uploads/2008/11/US_liquidconversion589.jpg
-
http://www.free-online-calculator-use.com/recipe-conversion-calculator.html
Nice Image, I want it on Readme
create table Measure (id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(30))
ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO Measure (name) VALUES('CUP'), ('TEASPOON'), ('TABLESPOON');
'Food Categories'
Appetizers
Breads
Fish
Beef
Poultry
Pork
Soup
Pastas
Sides
Desserts
Directions
id
recipes_id
direction
prep_time
cook_time
Measurements
id
ingredients_id
name
QUANTITIES
id
recipe_id -- links to recipes table
ingredient_id -- links to ingredients table
quantity
https://stackoverflow.com/questions/38463361/creating-a-recipe-database
https://stackoverflow.com/questions/17651424/bill-of-materials-database-model
https://forum.codeigniter.com/post-7676.html
read: https://fmforums.com/topic/43537-recipe-database-using-kitchen-inventory/
GS7 release