Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 14, 2020 10:16
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/64af3251f7be465e2c4191c04a0ea6bd to your computer and use it in GitHub Desktop.
Save velotiotech/64af3251f7be465e2c4191c04a0ea6bd to your computer and use it in GitHub Desktop.
import { intializeDB } from './db';
intializeDB();
@birendra-b
Copy link

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