We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 866fa22 commit cfad3bdCopy full SHA for cfad3bd
1 file changed
server.js
@@ -0,0 +1,14 @@
1
+"use strict";
2
+var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+};
5
+Object.defineProperty(exports, "__esModule", { value: true });
6
+var express_1 = __importDefault(require("express"));
7
+var app = express_1.default();
8
+var PORT = 9898;
9
+app.get('/', function (req, res) {
10
+ res.send('Welcome to typescript backend!');
11
+});
12
+app.listen(PORT, function () {
13
+ console.log("The application is listening on port http://localhost:" + PORT);
14
0 commit comments