Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to create node js server

//HTTP MODULE NODE.JS
var http = require('http');
var server = http.createServer(function(req, res){
  //write code here
});
server.listen(5000); 
 
PREVIOUS NEXT
Tagged: #create #node #js #server
ADD COMMENT
Topic
Name
4+2 =