From ed591eec6fb877659d7dfd6352d1c1cb2e45ec90 Mon Sep 17 00:00:00 2001 From: ZMiguel Alves Date: Sat, 9 Mar 2019 18:02:34 +0000 Subject: [PATCH] Revert "coisas" This reverts commit 45c1b37e5716e3f62d9ef6e8f50176934126af78. --- api/app.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 api/app.js 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