So I am struggling to simple display entries from the database in a browser window. Just a basic setup really. When using NeDB in the main process of electron, then all is fine. I can access an existing .db file and manipulate the data.
However, I cannot figure out how to display those entries in the index.html. I just cannot seem to pass the information between the windows.
So I tried the browser version but cannot seem to access the existing .db file that way.
Is there a basic example to demonstrate how one can keep NeDB in the main process and being able to simply loop through the data and render it in the window?
So I am struggling to simple display entries from the database in a browser window. Just a basic setup really. When using NeDB in the main process of electron, then all is fine. I can access an existing .db file and manipulate the data.
However, I cannot figure out how to display those entries in the index.html. I just cannot seem to pass the information between the windows.
So I tried the browser version but cannot seem to access the existing .db file that way.
Is there a basic example to demonstrate how one can keep NeDB in the main process and being able to simply loop through the data and render it in the window?