2020-04-23 18:07:55 +02:00
|
|
|
import Logger from "wms-core/Logger";
|
2020-06-14 13:01:52 +02:00
|
|
|
import App from "./App";
|
2020-06-14 15:15:15 +02:00
|
|
|
import config from "config";
|
2020-04-23 18:07:55 +02:00
|
|
|
|
|
|
|
(async () => {
|
2020-06-14 15:15:15 +02:00
|
|
|
const app = new App(config.get<number>('port'));
|
2020-04-23 18:07:55 +02:00
|
|
|
await app.start();
|
|
|
|
})().catch(err => {
|
|
|
|
Logger.error(err);
|
|
|
|
});
|