📝 Added sandbox (code sketchbook)
This commit is contained in:
parent
b475595f7f
commit
b5daf18b1a
142 changed files with 100702 additions and 0 deletions
15
sandbox/docker_web_app/server.js
Normal file
15
sandbox/docker_web_app/server.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
'use strict'
|
||||
const express = require('express')
|
||||
|
||||
// Constants
|
||||
const PORT = 8080
|
||||
|
||||
// App
|
||||
const app = express()
|
||||
app.get('/', (req, res) => {
|
||||
res.send('Hello World')
|
||||
})
|
||||
|
||||
app.listen(PORT, () => {
|
||||
console.log(`Running on port: ${PORT}`)
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue