Skip to content

Instantly share code, notes, and snippets.

@dacoffey
Created March 23, 2021 05:58
Show Gist options
  • Save dacoffey/f753d1e4dfd92ef8f0c7b471ef42c9a4 to your computer and use it in GitHub Desktop.
Save dacoffey/f753d1e4dfd92ef8f0c7b471ef42c9a4 to your computer and use it in GitHub Desktop.
NODE: Bare Minimum Web Server
require('http').createServer((req,res)=>{ res.writeHead(200); res.end('HELLOWORLD'); }).listen(80,'0.0.0.0');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment