Skip to content

lewisacidic/electron-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-flask

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.

Setup

You will need node and python, and their package managers npm and pip.

Install dependencies with

npm install
pip install -r requirements.txt

Run

The client and the api may be run separately (i.e. without electron) with:

gulp serve:client

and

gulp serve:api

respectively.

The electron app can be run with:

gulp electron

Build

The native executable apps can be built for all supported platforms and architectures with:

gulp build

About

Quick and dirty demo of a cross platform native app using electron to provide a html/css/javascript client with a python backend.

Resources

License

Stars

Watchers

Forks

Packages

No packages published