Created
March 17, 2016 13:08
-
-
Save AndyNovo/1f4b012dc49e0679767a to your computer and use it in GitHub Desktop.
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 http = require("http"); | |
var express = require('express'); | |
console.log("Started server"); | |
var aRouter = express(); | |
var myServer = http.createServer(aRouter); | |
aRouter.get('/', function(req, res){ | |
res.send("Testing Express"); | |
}); | |
myServer.listen(8080, '0.0.0.0'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment