Here is a very brief overview of the process used to create the web application you are interacting with currently.
The JavaScript source code for this application is available on GitHub: Encapsule/polytely
Pass application config JSON plus function references to a software factory responsible for integrating your application run-time image:
listen
.listen
method on your integrated application server specifying the port number.