Skip to content

Instantly share code, notes, and snippets.

@dangerbell
Created November 1, 2012 20:05
Show Gist options
  • Save dangerbell/3996112 to your computer and use it in GitHub Desktop.
Save dangerbell/3996112 to your computer and use it in GitHub Desktop.
Example Express server file
http = require 'http'
app = require './app'
http.createServer(app).listen app.get('port'), ->
console.log "Express server listening on port " + app.get('port')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment