diff --git a/.gitignore b/.gitignore index e1f79f2..2456fd3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ # npm node_modules + +# generated code +/out diff --git a/README.md b/README.md index c05bfe8..4473a70 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ ## Hello There - copy contents of ```.env.template``` to ```.env``` and fill values +- ```npm build``` - ```npm start``` diff --git a/out/index.js b/out/index.js deleted file mode 100644 index fda72f3..0000000 --- a/out/index.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict"; -exports.__esModule = true; -var dotenv = require("dotenv"); -var http = require("http"); -dotenv.config({}); -var hostname = "127.0.0.1"; -var port = 3000; -var server = http.createServer(function (req, res) { - res.statusCode = 200; - res.setHeader("Content-Type", "text/plain"); - res.end("Hello World\n"); -}); -server.listen(port, hostname, function () { - console.log("Server running at http://" + hostname + ":" + port + "/"); -}); -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/out/index.js.map b/out/index.js.map deleted file mode 100644 index 67b8a6d..0000000 --- a/out/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,+BAAiC;AACjC,2BAA6B;AAE7B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAElB,IAAM,QAAQ,GAAG,WAAW,CAAC;AAC7B,IAAM,IAAI,GAAG,IAAI,CAAC;AAElB,IAAM,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,UAAC,GAAG,EAAE,GAAG;IACxC,GAAG,CAAC,UAAU,GAAG,GAAG,CAAC;IACrB,GAAG,CAAC,SAAS,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC;IAC5C,GAAG,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;AAC3B,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,EAAE;IAC5B,OAAO,CAAC,GAAG,CAAC,8BAA4B,QAAQ,SAAI,IAAI,MAAG,CAAC,CAAC;AAC/D,CAAC,CAAC,CAAC"} \ No newline at end of file