๐Ÿ“ฆ gaggle / rush-1

๐Ÿ“„ index.ts ยท 11 lines
1
2
3
4
5
6
7
8
9
10
11import './pre-start'; // Must be the first import
import app from '@server';
import logger from '@shared/Logger';


// Start the server
const port = Number(process.env.PORT || 3000);
app.listen(port, () => {
    logger.info('Express server started on port: ' + port);
});