I am trying to create a simple sentence generator that uses templates and a database of words. It will be a website where essentially a user could click a button to generate a sentence.For example: The {animal} is on top of the {large_obj}.would choose a item from animals and then choose another item from the list that it points to. And it would also choose a large_obj.A possible outcome would be: The chicken is on top of the house.I am looking for suggestions for how to store the data.I was thinking either a database with tables for each collection or a large JSON object. But I don't have enough experience to feel good about either decision.It is currently planned to use Node.js with a Postgres database.I'm hoping to have 1000-2000 words total.
Suggestions for Storing large collection of related words
javascript;database