summaryrefslogtreecommitdiff
path: root/WebInterface/NodeJSServer/src/js/index.js
blob: 407cd39a9791ff188978694a11c461e7f96bfb1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Interface from './modules/interface';
import UIManager from './modules/ui/uiManager';
import Networker from './modules/networking/networker';

const SERVERURL = 'https://kobert.dev/dsa/api/chatHub';

let iface = new Interface();
let uiMan = new UIManager(iface);
uiMan.initLogin();

let netMan = new Networker(iface, SERVERURL, true); // TODO: Remove debug flag
netMan.initLogin();