Hello and thank you for your time,
I am creating an app that will allow users to view, create and edit data items that comprise of text, images and possibly more.
These data items will have to be stored permanently in an appropriate database (I believe mongoDB is fine for unstructured data).
So the user clicks the create button and is presented with the create interface; they then enter the info (text, images, etc.) and click save. This should trigger a callback that will store the item in the database.
Simultaneously, the interface of the app has to show the entries of the database, in a list format. Each list item will be expandable (to reveal more info or options), and will correspond to one entry in the database.
The problem is, how to make sure that the app interface will be updated every time an item is entered in the database?
In my understanding, the database will be the central point where the items will be stored in and retrieved from. Ideally, the application’s interface will be able to always reflect the database’s content (but not in a tabular format, so the DataTable component doesn’t seem right for the job.
With this information, could anyone direct me on how I might achieve this? Do I need an intermediate place to store the data items before sending them to the database?
Thank you again!