AutoScheduleJS / cake-time

Make cooking cake fun and easy!
MIT License
0 stars 0 forks source link

DB system #8

Open Draeken opened 6 years ago

Draeken commented 6 years ago

Graph databases, such as Neo4J, could be suited for storing relation between recipe, sub-recipe, ingredients, ustensils. https://neo4j.com/developer/data-modeling/ It is also possible to store in multiple DB (mongoDB & Neo4J): https://neo4j.com/developer/mongodb/

pros for graph oriented

Draeken commented 5 years ago

(n:Recipe { directions: [{ instr: "dissoudreXdansYdansZ, argX: bol, argY: { code: "sel", quantity: 1}, argZ: "milk or water" }] })-[:requirement {factor: x} ]->(sb:Subrecipe/Product/Choice)