app.ts
/*
* Copyright (c) 2014-2024 Bjoern Kimminich & the OWASP Juice Shop contributors.
* SPDX-License-Identifier: MIT
*/
async function app () {
const { default: validateDependencies } = await import('./lib/startup/validateDependenciesBasic')
await validateDependencies()
const server = await import('./server')
await server.start()
}
app()
.catch(err => {
throw err
})