Created
May 22, 2021 17:09
-
-
Save red-socks294/2d276008921d2f759c97835680630acb to your computer and use it in GitHub Desktop.
An simple "Hello, World" program for Express.
This file contains hidden or 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'); | |
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