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
SQLite
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.sqlLite
or direct JSON (plus immutableJS too).