Last active
December 21, 2015 22:09
-
-
Save HaveF/6373152 to your computer and use it in GitHub Desktop.
this file is from(not exist):
https://github.com/startup-class/bitstarter/blob/master/web.js
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
var express = require('express'); | |
var app = express.createServer(express.logger()); | |
app.get('/', function(request, response) { | |
response.send('Hello World!'); | |
}); | |
var port = process.env.PORT || 5000; | |
app.listen(port, function() { | |
console.log("Listening on " + port); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment