Quick and dirty demo of a cross platform native app using electron to provide a html/css/javascript client with a python backend.
The app itself merely accesses a RESTful API written in Python using Flask using an AJAX request.
You will need node and python, and their package managers npm and pip.
Install dependencies with
npm install
pip install -r requirements.txtThe client and the api may be run separately (i.e. without electron) with:
gulp serve:clientand
gulp serve:apirespectively.
The electron app can be run with:
gulp electronThe native executable apps can be built for all supported platforms and architectures with:
gulp build