Skip to content

An example of python desktop app using eel as backend and react as frontend.

Notifications You must be signed in to change notification settings

rahulsrma26/eel-react-app

Repository files navigation

EEL REACT VITE Example

This is an example of EEL app that uses react for UI and vite for build.

How to setup

Clone (or fork and clone) this repo and change dir.

git clone https://github.com/rahulsrma26/eel-react-app.git
cd eel-react-app

Install packages using yarn or npm.

npm install

Create environment and install requirements for python.

conda create -n appenv python=3.9 pip
conda activate appenv
pip install -r requirements.txt

How to develop

To run the example in dev environment first run front end.

npm run dev

Then run backend in a separate terminal.

python main.py --dev

How to build executable

To build and executable first build static files.

npm run build

Then build using pyinstaller.

python -m eel main.py dist --onefile --noconsole --name eel-react-app

About

An example of python desktop app using eel as backend and react as frontend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published