Created
November 17, 2019 03:08
-
-
Save Gumball12/ecaf7e48030b7d23e80bee02b0a52f14 to your computer and use it in GitHub Desktop.
net-with-docker assignment (server)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
// Constants | |
const PORT = 8000; | |
// App | |
const app = express(); | |
app.get('/', function (req, res) { | |
res.send('Master'); | |
}); | |
app.listen(PORT) | |
console.log(`Running on :${PORT}`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment