An open API service indexing awesome lists of open source software.

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

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
```