Skip to content

Instantly share code, notes, and snippets.

@Gumball12
Created November 17, 2019 03:08
Show Gist options
  • Save Gumball12/ecaf7e48030b7d23e80bee02b0a52f14 to your computer and use it in GitHub Desktop.
Save Gumball12/ecaf7e48030b7d23e80bee02b0a52f14 to your computer and use it in GitHub Desktop.
net-with-docker assignment (server)
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