13 lines
291 B
TypeScript
13 lines
291 B
TypeScript
import app from './app';
|
|
import appConfig from './config/app';
|
|
import logger from './helpers/logger';
|
|
import telemetry from './helpers/telemetry';
|
|
|
|
telemetry.setServiceType('main');
|
|
|
|
const port = appConfig.port;
|
|
|
|
app.listen(port, () => {
|
|
logger.info(`Server is listening on ${port}`);
|
|
});
|