Home | CHANGELOG | VHP Portal | DEV Portal |
Library to create an electron app to run react and .html files
Setup App AppUser AppControls App Manager App Mart
Creates an app and orchestrates the feature of the app.
Responsible for setup and housing of basic configuration for the app:
Setup for the application’s local storage held on the users computer. Many things can be stored here including settings, database items, and offline changes. The data is stored within a local IMDB folder, and organized by the applications name (found in settings.json)
{
userfile='',
authlist={}
}
On each computer using a vhp electron there is an IMDB folder in the C: drive. In the root is a userset.json file storing that users information. Regardless of the computer, the user on that file reflects the user who logged in. These credentials will be used across any electron application. On start, the credentials will be retrieved and tested against the provide authlist. If there is a match the “main” page is served. If not, the user is sent to the login page.In the case this userset.json folder does not exist, it created with default user information. The user would then be sent to the login page.
Serves the required pages for the app