https://github.com/yanglee2421/electron-react
A sample project based on electron and react, supporting SQLite database
https://github.com/yanglee2421/electron-react
better-sqlite3 electron react vite
Last synced: 6 days ago
JSON representation
A sample project based on electron and react, supporting SQLite database
- Host: GitHub
- URL: https://github.com/yanglee2421/electron-react
- Owner: yanglee2421
- License: mit
- Created: 2024-12-25T16:30:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-06-22T09:30:44.000Z (6 days ago)
- Last Synced: 2026-06-22T11:17:13.046Z (6 days ago)
- Topics: better-sqlite3, electron, react, vite
- Language: TypeScript
- Homepage:
- Size: 7.95 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
## Database
- password: `Joney`
## Development
```powershell
$OutputEncoding = [Console]::OutputEncoding = [Text.Encoding]::UTF8
```
Commonjs modules must be imported using require
```ts
//
const require = createRequire(import.meta.url);
// odbc only support commonjs
const odbc: typeof import("odbc") = require("odbc");
```
## Build
```powershell
# Install chocolatey cli
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# Install rebuild dependencies for ia32
choco install python visualstudio2022-workload-vctools -y
```