DEV Community

Discussion on: Building a Desktop App with Vue: NW.js

Collapse
 
dekadentno profile image
Matej

Possibly a stupid question: if you wanted to store some data in the app (some database, but obviously not something like firebase, because the app shouldn't be dependable of the internet connection, right?) how would you resolve such a thing? Thanks

Collapse
 
n_tepluhina profile image
Natalia Tepluhina • Edited

There are no stupid questions ;)

You can use the database of your choice with Node.js driver, my personal choice in this case is SQLite. There is a good tutorial on how to setup SQLite with Node: stackabuse.com/a-sqlite-tutorial-w...

Collapse
 
dekadentno profile image
Matej

Ah yes, thanks a bunch! :)