aboutsummaryrefslogtreecommitdiff
path: root/dist/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/index.js')
-rw-r--r--dist/index.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/dist/index.js b/dist/index.js
new file mode 100644
index 0000000..9392034
--- /dev/null
+++ b/dist/index.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+console.log('Hello, TypeScript!');
+const app_1 = require("./app");
+const port = process.env.PORT || 3000;
+app_1.default.listen(port, (err) => {
+ if (err) {
+ return console.log(err);
+ }
+ return console.log(`server is listening on ${port}`);
+});