We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe58b0d commit 627b6b7Copy full SHA for 627b6b7
1 file changed
server.ts
@@ -0,0 +1,12 @@
1
+import express from 'express'
2
+
3
+const app = express()
4
+const PORT:Number = 9898
5
6
+app.get('/', (req, res) => {
7
+ res.send('Welcome to typescript backend!')
8
+})
9
10
+app.listen(PORT,() => {
11
+ console.log(`The application is listening on port http://localhost:${PORT}`)
12
0 commit comments