An overview with descriptions of the Frontend can be found here: ViPLab Frontend.
The Repository containing the Code is published on GitHub.
The Websocket-Api can be used by the clients to interact with ViPLab. For this it is necessary that th clients authenticate and autorize themselves using JSON Web Tokens (JWTs). Following this process, messages can be exchanged, to start a computation using ViPLab. To enable the computation, all necessary information has to be part of the Websocket message. The messages sent are JSON messages, which are partly described in the Developer Guide. Once the result was computed, the client is informed.
Additionally there is a Database, which is used to save Computations and their results. But it is no durable location for saving user data. The Backends have no access to this DB, so all relevant information has to be sent to the Backends using the Middleware.
The Repository containing the code of the Websocket API can be found on Git and is written in Java.
As Middleware Apache ActiveMQ is used. To be more precise ActiveMQ Artemis. Apache ActiveMQ Artemis enables asynchronous messaging between the Websocket API and the Backend and thus also asynchonous processing in the Backend(s).
The ViPLab Backend is based on Python. It is used to evaluate the input made using the Frontend. For this the specified Docker-Container is executed. Alternatively, the code is executed inside a previously defined Container, e.g. C-Code is executed inside a Container that can run C-Code. After that, the result is reported back to the client via ActiveMQ and the Websocket API.
The code can be found here.