-
-
Save ramontristani/9203535 to your computer and use it in GitHub Desktop.
Basic Node.js app.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'), | |
path = require('path'), | |
app = express(); | |
require('./server/config/app-config')(express, path, app); | |
require('./server/routes')(app); | |
app.listen(process.env.port, function() { | |
console.log('Now listenting to requests'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment