Just a basic example of using the "Eel" library. This example makes a simple insertion and removal of values in a NoSQL database, just to demonstrate the communication between Javascript and the backend written in Python. For this is being used the framework "Bootstrap4" and the "Jquery" library for the frontend, and the non-relational database "MongoDb".
"Eel is a little Python library for making simple Electron-like offline HTML/JS GUI apps, with full access to Python capabilities and libraries. It hosts a local webserver, then lets you annotate functions in Python so that they can be called from Javascript, and vice versa. It is designed to take the hassle out of writing short and simple GUI applications."
For more information, click here (repository link)
$ git clone https://github.com/ViniciusRomano/eel-example.git
$ cd eel-example
$ pip install -r requirements.txt
Copy and paste the following line into a terminal window.
$ python run.py