diff --git a/api/app.js b/api/app.js new file mode 100644 index 00000000..3991c3be --- /dev/null +++ b/api/app.js @@ -0,0 +1,7 @@ +var http = require('http'); + +//create a server object: +http.createServer(function (req, res) { + res.write('Hello World!'); //write a response to the client + res.end(); //end the response +}).listen(49152); //the server object listens on port 8080