Offline Data Storage with Server


I am new for electron. I want to create offline application for e-books storage.
List of books, pages in books , category of books, search etc.
Can anyone suggest me , where should I store Data?
Is any open source code is available?
Sorry for my poor English.


NeDB works good with electron…

Hoodie & CouchDB is online/offline storage.