Created
October 14, 2015 23:13
-
-
Save jdx/f8f09b446738e0fed3f0 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
'use strict'; | |
let express = require('express'); | |
let app = express(); | |
app.get('/', function (req, res) { | |
// render out the angular bootstrap page | |
res.render('index.html.ejs'); | |
}); | |
// listen on $PORT or 3000 | |
// this makes the app work on heroku | |
app.listen(process.env.PORT || 3000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment