All Projects → tarikguney → Electron With Sqlite3

tarikguney / Electron With Sqlite3

Sample application for ElectronJS working with Sqlite3

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Electron With Sqlite3

Electron Angular4 Sqlite3
Sample project to show how to build a desktop app using Electron, Angular 4 and Sqlite3
Stars: ✭ 60 (-27.71%)
Mutual labels:  sqlite, sqlite3, desktop-app
Android dbinspector
Android library for viewing and sharing in app databases.
Stars: ✭ 881 (+961.45%)
Mutual labels:  sqlite, sqlite3
Chronophore
Desktop app for tracking student sign-ins in a tutoring center.
Stars: ✭ 6 (-92.77%)
Mutual labels:  sqlite, desktop-app
Perfect Sqlite
A stand-alone Swift wrapper around the SQLite 3 client library.
Stars: ✭ 42 (-49.4%)
Mutual labels:  sqlite, sqlite3
Denodb
MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Stars: ✭ 498 (+500%)
Mutual labels:  sqlite, sqlite3
Tuql
Automatically create a GraphQL server from a SQLite database or a SQL file
Stars: ✭ 526 (+533.73%)
Mutual labels:  sqlite, sqlite3
Sqlitelib
Easily build a custom SQLite static library for use in macOS and iOS frameworks and apps.
Stars: ✭ 38 (-54.22%)
Mutual labels:  sqlite, sqlite3
Wxsqlite3
wxSQLite3 - SQLite3 database wrapper for wxWidgets (including SQLite3 encryption extension)
Stars: ✭ 373 (+349.4%)
Mutual labels:  sqlite, sqlite3
Fluent Sqlite Driver
Fluent driver for SQLite
Stars: ✭ 51 (-38.55%)
Mutual labels:  sqlite, sqlite3
Pyrustic
Lightweight framework and software suite to help develop, package, and publish Python desktop applications
Stars: ✭ 75 (-9.64%)
Mutual labels:  sqlite, desktop-app
Esp32 Idf Sqlite3
Sqlite library for esp-idf (esp32) framework
Stars: ✭ 57 (-31.33%)
Mutual labels:  sqlite, sqlite3
Liszt
A personal organization software with a script engine for automation
Stars: ✭ 72 (-13.25%)
Mutual labels:  sqlite, sqlite3
Aiosqlite
asyncio bridge to the standard sqlite3 module
Stars: ✭ 411 (+395.18%)
Mutual labels:  sqlite, sqlite3
Vscode Sqltools
Database management for VSCode
Stars: ✭ 741 (+792.77%)
Mutual labels:  sqlite, sqlite3
Walkable
A Clojure(script) SQL library for building APIs: Datomic® (GraphQL-ish) pull syntax, data driven configuration, dynamic filtering with relations in mind
Stars: ✭ 384 (+362.65%)
Mutual labels:  sqlite, sqlite3
Sqlite Global Tool
SQLite .NET Core CLI tool that allows the user to manually enter and execute SQL statements with or without showing query result.
Stars: ✭ 37 (-55.42%)
Mutual labels:  sqlite, sqlite3
Squeal
A Swift wrapper for SQLite databases
Stars: ✭ 303 (+265.06%)
Mutual labels:  sqlite, sqlite3
Go Sqlite Lite
SQLite driver for the Go programming language
Stars: ✭ 315 (+279.52%)
Mutual labels:  sqlite, sqlite3
Clippy
A desktop application for managing clipboard history
Stars: ✭ 45 (-45.78%)
Mutual labels:  desktop-app, electronjs
Sqlite orm
❤️ SQLite ORM light header only library for modern C++
Stars: ✭ 1,121 (+1250.6%)
Mutual labels:  sqlite, sqlite3

Purpose

This repository contains sample code for the following areas:

  1. Creating a new BrowserWindow and how to show and destroy it from the MainProcess.
  2. Sending data between RendererProcess and MainProcess in Electron app.
  3. Using IPCRenderer and IPCMain objects.
  4. Connecting Sqlite3 using Knex library.
  5. Building and reading queries using Knex library.

The shortcut for showing dev tools on windows in Electron is Command + Alt + I on MacOS.

Notes

When sending data between RenderProcess and MainProcess, there are two important code pieces:

  1. IPCMain and IPCRenderer
  2. BrowserWindow.webContents.send()

WebContents contains events, etc. for a window. IPC means inter-process communication. The idea here is events. You can fire an event by using send() method along with data to pass, and the subscribers listening to it get the data passed.

Also, when I was working with Sqlite3, I got errors with it not being found. Therefore, I had to install electron-rebuild dev-dependency and rebuilt the electron with it by calling npm run rebuild. package.json has the setting for the rebuild command.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].