Skip to content

Instantly share code, notes, and snippets.

@tkssharma
Created August 9, 2019 15:43
Show Gist options
  • Save tkssharma/201c446911e277e8ec61a66a42b571e5 to your computer and use it in GitHub Desktop.
Save tkssharma/201c446911e277e8ec61a66a42b571e5 to your computer and use it in GitHub Desktop.
const port = 3000
require('http')
.createServer((req, res) => {
})
.listen(port, (error)=>{
console.log(`server is running on ${port}`)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment