UNPKG

express-typeorm-rest-boilerplate

Version:

Boilerplate code to get started with building RESTful API Services

18 lines (14 loc) 408 B
import server from './server'; import config from './config'; import Logger from './logger'; const startServer = async () => { const app = await server(); app.listen(config.port, () => { Logger.info(` ################################################ # Server listening on port: ${config.port} ################################################ `); }); }; startServer();