Electonc plus local database

  node.js, question

Recently, electron was used as a C/S client. The user’s computer is not connected to the Internet.

Basic function: an item implemented by electron plus node plus database

Here comes the question: how to choose the database? The effect I want to achieve is to click on an exe file to start the electron client and the database will start accordingly.

Hint: If you choose mongo from Portable version, how do you embed it into EXE? Is there any other plan?

You may need sqlite.
It does not need to start the server, it is just a file.

mapbox/node-sqlite3: Asynchronous, non-blocking SQLite3 bindings for Node.js