search

Home  >  Q&A  >  body text

javascript - What database does electron app use?

I want to use Electron to develop a desktop app, which requires data persistence.
The data to be stored is a document, and a copy is saved locally, and cloud synchronization is supported.

Now we have to develop the data storage function. I see that there are too many databases to choose from.
I hope you can recommend one, and it is best to talk about the specific solution.

Thank you

黄舟黄舟2844 days ago833

reply all(3)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-06-12 09:32:18

    SQLite

    reply
    0
  • 高洛峰

    高洛峰2017-06-12 09:32:18

    It is recommended to use lowdb for simple data storage. This is a database engine based on json files, which is simple and easy to use.

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-06-12 09:32:18

    sqlLite
    or direct JSON (plus immutableJS too).

    reply
    0
  • Cancelreply