File: samples/helloworld-nodejs-server.js

Recommend this page to a friend!
  Classes of Igor Escobar   Terminal Crossword   samples/helloworld-nodejs-server.js   Download  
File: samples/helloworld-nodejs-server.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Terminal Crossword
Generate a crosswords board on a text console
Author: By
Last change:
Date: 2 years ago
Size: 242 bytes
 

Contents

Class file image Download
var http = require("http"); // Server URL: http://localhost:8888/ http.createServer(function(request, response) { response.writeHead(200, {"Content-Type": "text/plain"}); response.write("Hello World"); response.end(); }).listen(8888);