Embedding MongoDB in an Electron App


For this question, I’m posting in two different places: here, and on a support community for MongoDB. The other post may be viewed here.

I’m researching what’s involved in bundling a MongoDB server with an Electron-based desktop app. The idea is that the server would be private to the application, neither requiring the user to have previously installed MongoDB, nor using or interfering with any MongoDB installation that the user has already installed.

Is this possible? Are there general approaches to embedding 3rd-party binaries (e.g. ImageMagick or Graphvis)? Or is there something special about embedding MongoDB?

Thank you very much for your help.


Can you review this link : https://stackoverflow.com/questions/51094968/embed-mongodb-with-electron