Local database handling in elceton desktop app


#1

I am creating a desktop app using react js .
And i want to fetch the info from my local database.
and also want to update the fetched info.


#2

You could package your app with SQLite, which is a file-based database. But depending on what you’re storing, you might be able to get away with just using localStorage. If you want to store JSON blobs, there’s a great json storage library that I’ve used in the past.


#3

Can You please help me with help of sample code for ubuntu?