Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 14, 2020 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/4f1412ba1d345b90e6b7b95bf255ae6d to your computer and use it in GitHub Desktop.
Save velotiotech/4f1412ba1d345b90e6b7b95bf255ae6d to your computer and use it in GitHub Desktop.
import app from './Server';
// Start the server
const port = Number(process.env.PORT || 3000);
app.listen(port, () => {
logger.info('Express server started on port: ' + port);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment