Electron and MongoDB


#1

Hey there,

i am pretty new to the whole world of Electron, npm … my questions is where should I locate my queries to mongo db? At the moment my structure is like this…

.\content\page1 contains(.html, .css .js)
.\content\page2 contains(.html, .css .js)

should I put my queries into the main.js? or the pageXY.js?