Skip to content

Instantly share code, notes, and snippets.

@kunokdev
Last active April 1, 2019 00:29
Show Gist options
  • Save kunokdev/624ed50d86adeecbdf93ae8528aaf51d to your computer and use it in GitHub Desktop.
Save kunokdev/624ed50d86adeecbdf93ae8528aaf51d to your computer and use it in GitHub Desktop.
Simple HTTP service
require("http")
.createServer((req, res) => res.end("Item service"))
.listen(process.env.PORT || 80, err => console.log(err || "Item Service"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment