build: switch to NodeNext module resolution
[e-mobility-charging-stations-simulator.git] / src / start.ts
CommitLineData
edd13439 1// Partial Copyright Jerome Benoit. 2021-2023. All Rights Reserved.
b4d34251 2
8eac9a09 3import chalk from 'chalk';
7dde0b73 4
a6ef1ece 5import { Bootstrap } from './charging-station/index.js';
8114d10e 6
9fe88c42
JB
7try {
8 await Bootstrap.getInstance().start();
9} catch (error) {
10 console.error(chalk.red('Startup error: '), error);
11}