Last active
October 24, 2018 00:09
-
-
Save chrisseaton/4863d83e9d4bb5690eda2ff7c2b585e6 to your computer and use it in GitHub Desktop.
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
var express = require('express'); | |
var app = express(); | |
app.get('/', function (req, res) { | |
res.send('<h1>Hello!</h1>'); | |
}); | |
app.listen(8080, function () { | |
console.log('serving at http://localhost:8080') | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment