diff --git a/package.json b/package.json index 5a92689..48c5fe8 100644 --- a/package.json +++ b/package.json @@ -15,5 +15,8 @@ "bugs": { "url": "https://github.com/mahuntington/herokutest/issues" }, - "homepage": "https://github.com/mahuntington/herokutest#readme" + "homepage": "https://github.com/mahuntington/herokutest#readme", + "dependencies": { + "express": "^4.14.0" + } } diff --git a/server.js b/server.js new file mode 100644 index 0000000..8218308 --- /dev/null +++ b/server.js @@ -0,0 +1,10 @@ +var express = require('express'); +var app = express(); + +app.get('/', function(req, res){ + res.send('works'); +}) + +app.listen(3000, function(){ + console.log('listening on port ' + process.env.PORT); +}) \ No newline at end of file