Working Hello World express app

This commit is contained in:
2024-04-07 12:42:00 +02:00
commit 66765c431a
5 changed files with 723 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
const express = require('express')
const app = express()
const port = 3000
app.get('/', (req, res) => {
res.send('Hello World!')
})
app.listen(port, () => {
console.log(`Example app listening on port ${port}`)
})