Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Database for electron app

Tags:

electron

Recently started with electron. Can any one please help me with the database selection. It seems like there is no straight forward choice for it. Suggest a database for medium size project.

like image 868
Adi Avatar asked Feb 03 '23 23:02

Adi


2 Answers

In Electron app, you can use the database of your choice :

https://github.com/louischatriot/nedb

https://github.com/pouchdb/pouchdb

http://lokijs.org

https://github.com/kripken/sql.js

https://github.com/pubkey/rxdb

https://github.com/amark/gun

https://github.com/typicode/lowdb

https://github.com/google/leveldb

According to your purpose, a single JSON file can be used as a database.

like image 129
JeffProd Avatar answered Feb 08 '23 17:02

JeffProd


You can use CouchDB, which is the non-sql database, in that you can store data in JSON format, they have inbuilt sync functionality, that means, you just need to store data locally in HTML storage provider and CouchDB will automatically sync that with the server.

like image 45
Rohan J Mohite Avatar answered Feb 08 '23 17:02

Rohan J Mohite