Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Created March 17, 2016 13:08
Show Gist options
  • Save AndyNovo/1f4b012dc49e0679767a to your computer and use it in GitHub Desktop.
Save AndyNovo/1f4b012dc49e0679767a to your computer and use it in GitHub Desktop.
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