build(deps-dev): apply updates
[e-mobility-charging-stations-simulator.git] / src / start.ts
CommitLineData
a19b897d 1// Partial Copyright Jerome Benoit. 2021-2024. All Rights Reserved.
b4d34251 2
66a7748d 3import chalk from 'chalk'
7dde0b73 4
66a7748d 5import { Bootstrap } from './charging-station/index.js'
8114d10e 6
9fe88c42 7try {
66a7748d 8 await Bootstrap.getInstance().start()
9fe88c42 9} catch (error) {
66a7748d 10 console.error(chalk.red('Startup error: '), error)
9fe88c42 11}