You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
285 B
TypeScript

import app from './app';
import { appConfig } from './config'
function init(host:any, port:any) {
app.listen(port, host, ( ) => {
console.clear()
console.info(`API Running on: ${host}:${port} ============================`);
})
}
init(appConfig.host, appConfig.port)