Skip to content

Instantly share code, notes, and snippets.

View numToStr's full-sized avatar
🍵
Just wandering around...

numToStr

🍵
Just wandering around...
View GitHub Profile
@numToStr
numToStr / node-bin.js
Created July 23, 2019 07:14
Node server build with core http module
#!/usr/bin/env node
const http = require("http");
// Port Environment variable
const PORT = process.env.PORT || 5000;
// Creating the node server
const SERVER = http.createServer();