Truly tiny boilerplate for an Electron app that includes SQLite support. See the blog post for more.
git clone https://github.com/optimistanoop/jhora.git
cd electron-boilerplate-sqlite
npm install
npm start
npm i -g windows-build-tools
npm i sqlite3 --build-from-source
Releases can only be built on the target platform.
npm run release
Windows - C:\Users\Administrator\AppData\Roaming\db.db
Mac - /Users/<USER_NAME>/Library/Application Support/db.db
Linux - ``
If you wish to use native modules, you must run npm run postinstall
after first install of the module.
- Primary inspiration: https://github.com/szwacz/electron-boilerplate
- SQLite JS: https://github.com/bytheway/electron-sqlite3/