Skip to content

Instantly share code, notes, and snippets.

@desaijay315
Created April 5, 2019 02:35
Show Gist options
  • Save desaijay315/ac6701bf05b7bd28f30e3b47dc8a864d to your computer and use it in GitHub Desktop.
Save desaijay315/ac6701bf05b7bd28f30e3b47dc8a864d to your computer and use it in GitHub Desktop.
const express = require('express')
const app = express();
const port = process.env.PORT || 3000
app.listen(port,() =>{
console.log('server is up on ' + port);
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment