Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/erabossid/ers


https://github.com/erabossid/ers

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

(incompleted)

# Electron React SQLite App
Desktop app with database access

## Install react
`npx create-react-app ers`

Go to ers folder `cd ers` ,
Run the react app `npm start`

## Install electron and electron-builder as devDependency
`npm install electron --save-dev`

`npm install electron-builder --save-dev`

## Install SQLite3 database
`npm install sqlite3`

## Install other necessary dev tools
`npm install concurrently electron-is-dev wait-on bluebird`

***
## Let's work on electron
The app is currntly running the react default app. Need to change this to run eletron

Clear the unnecessary contents from the index.html in public folder, but do not delete this part `

` . Also change the title in ` ` of index.html

Create a new file `electron.js` in `public` folder

Then add necessary scripts (see the `electron.js` file in `public` folder of this project)

Now add this to the `script` in `package.json` file

`"electron":"electron"`