Skip to content

Commit 01ecb2d

Browse files
committed
Example hello world
1 parent a075c16 commit 01ecb2d

File tree

3 files changed

+670
-0
lines changed

3 files changed

+670
-0
lines changed

hello.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const express = require('express')
2+
const app = express()
3+
const port = 3000
4+
5+
app.get('/', (req, res) => {
6+
res.send('Hello World!')
7+
})
8+
9+
app.listen(port, () => {
10+
console.log(`Example app listening on port ${port}`)
11+
})

0 commit comments

Comments
 (0)