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

https://github.com/alexandrelamarre/electron-react-flask-template

A template for Electron-React-Flask desktop apps.
https://github.com/alexandrelamarre/electron-react-flask-template

Last synced: 4 months ago
JSON representation

A template for Electron-React-Flask desktop apps.

Awesome Lists containing this project

README

        

# Setup (for dev)
- Install node.js/npm package manager
- Install python3
- Run `npm install` in app root directory to install the relevant pacakges `from package.json`
- `pip install flask pyinstaller` (run this as administrator, check it is installed using `which pyinstaller`, if `pyinstaller` is still not installed run `pip uninstall pyinstaller` and run `pip install pyinstaller` as administrator)
- To turn the flask backend into an executable, you must `cd backend`, ` pyinstaller -F app.py`

# App use
- To make use of secret tokens, we use `atom/node-keytar`, which on unix requires the installation of `libsecret`, see full documentation of `atom/node-keytar` [here](https://github.com/atom/node-keytar)