Skip to content

Instantly share code, notes, and snippets.

@red-socks294
Created May 22, 2021 17:09
Show Gist options
  • Save red-socks294/2d276008921d2f759c97835680630acb to your computer and use it in GitHub Desktop.
Save red-socks294/2d276008921d2f759c97835680630acb to your computer and use it in GitHub Desktop.
An simple "Hello, World" program for Express.
const express = require('express');
const app = express();
app.get('/', function (req, res) {
res.send('hello express');
});
app.listen(80, function () {
console.log('started express web server on port 80');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment