thealphadollar/Nephos

Initiate A Web App

thealphadollar opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
Currently, there is no intuitive way to looking into what exactly is going on in the Nephos module. This hinders the ease of use of the module.

Describe the solution you'd like
A minimal web application that runs along with the module on the user's localhost (maybe we can export the port to the internet later on) and displays crucial information. Currently, the module will just have read features and no write features.

Describe alternatives you've considered

Additional context
One can use Python's flask module [easiest approach but it is upto the student to use any other technologies as well] and integrate it with the current module to get started. The best way to achieve this is to iterate through all the entries available under channels table in storage.db which is a SQL database. For the beginning, the website can be simply displaying the entries of the database fetching them at every REST request.

The student should keep the flask module different from the main module and then import it (if written in Python itself) with nephos and integrate there. This will help in continuing the modular approach of the entire codebase.

It is MANDATORY to write unittests and logging for all the code.

NOTE: If the student is not willing (or able to) run Nephos completely on his system, he should be able to edit the database manually and test the web app against it.

The design, operation, and implementation are upto the student but at the minimum, it should have list of channels added and jobs scheduled.

More issues based on this will be added once this is complete.

fixed via #106