UNPKG

create-express-typescript-application

Version:
10 lines (7 loc) 277 B
import app from './server'; import config from '../config.json'; // Start the application by listening to specific port const port = Number(process.env.PORT || config.PORT || 8080); app.listen(port, () => { console.info('Express application started on port: ' + port); });