Created
August 2, 2018 18:28
-
-
Save chaiwa-berian/f3981f5c813a7aa8764c983b880a3f78 to your computer and use it in GitHub Desktop.
Nodejs Server in one line of code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('http').createServer((req,res)=>res.end("Hey!")).listen(3000,'127.0.0.1'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment