Created
August 25, 2014 13:39
-
-
Save fidanov/13d1d7970c8b3850808e to your computer and use it in GitHub Desktop.
Basis express web app.js file.
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
var express = require('express') | |
, app = express() | |
app.engine('jade', require('jade').__express) | |
app.set('view engine', 'jade') | |
app.use(express.static(__dirname + '/public')) | |
app.use(require('./controllers')) | |
app.listen(3000, function() { | |
console.log('Listening on port 3000...') | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment