This is a simple starter kit for developing electron applications with Angular & SQLite3. It is best suitable for beginners to quick initiate the project. Electron Forge is used for the building the electron app. So there is difficulties in managing the native dependencies for the electron application.
TypeORM is used for the database connectivity. It is such a nice tool for managing entities, fetching, writing data into the database. IpcRenderer
from the electron is used to pass data between electron and angular.
src
- Angular application source code
electron-src
- Electron application bootstrap configuration and entities, contollers.
out-tsc
- Source code compilation output
out
- Final application build output
git clone --branch electron-ng8-sqlite3 https://github.com/rajezvelse/billdesk.git
cd billdesk
npm install
To run the development app start the Angular server in a terminal npm run start:ng
and then start the electron application in another terminal npm run start:electron
. The chnage detection is handled by the Angular development server.
npm run start:electron-build
npm run make:linux
npm run make:win
python2.7
git
npm install --global --production windows-build-tools