- Put server.coffee next to config.coffee
- Register server.coffee in config.coffee server: path: 'server.coffee'
- Add required modules to package.json npm install --save express http-proxy
# This example does an AJAX lookup and is in CoffeeScript
$('.typeahead').typeahead(
# source can be a function
source: (typeahead, query) ->
# this function receives the typeahead object and the query string