Search code examples
neo4jnosql

Is a food ordering menu a good use case for Neo4j


I have been trying to learn different NoSQL databases so I decided that I want to build a food ordering menu where you can order a burger for example. I want the menu to be able to ask different questions depending on the item being ordered. So for a burger it should ask questions like what kind of bread you want. Should you add extra cheese? Should the patty be hot, mild, extra hot etc. If you order a different item eg a pizza you would have different options from a burger eg what kind of crust you want, what kind of topping to use etc. Depending on what is being ordered, would you want a side. An item on the menu could either be a main item and could also be a side.

My question is is Neo4j a good database to model this or is there a better database I should be looking at.

Regards


Solution

  • I think it's a good choice, because it can model the different aspects flexibly and allow you to make recommendations based on the inputs that users provided.

    Here is a nice demo with a restaurant selection in action:

    http://www.popotojs.com/