Skip to content

ViniciusRomano/eel-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

eel-example

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".

What is Eel ?

"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)

Installation

Install MongoDB:

MongoDB Installation

Clone repository:

$ git clone https://github.com/ViniciusRomano/eel-example.git
$ cd eel-example

Install requirements:

$ pip install -r requirements.txt

Run

Copy and paste the following line into a terminal window.

$ python run.py