Markcce Eros Markcce Eros - 1 year ago 103
Javascript Question

Portable database for a html/javascript project

I am working on a project which is currently local and serverless, so I'm not using mamp or similar, I'm just running the pages from the browser.
I would normally use mySQL but as I'm not using php in this project I'd like to know what are the easiest options I have.

I just need a database where I will be storing the page content and then populating the pages from it.

I need something that I'm going to be able to use with Electron too as the project is finally going to be wrapped in Electron.

What options do I have where I can move the project folder around and still be able to use it, in other words, portable ... what options do I have?

Answer Source

Check out SQLite Might be what you are looking for - basically, SQLite is, according to the project site, an in-process library that implements a self-contained, serverless, zero-configuration (here I read portable as well), transactional SQL database engine.

As an aside, please note the following in terms of your question (requesting recommendations of a tool from the community): Questions that request the community to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download