-
-
Save jedahan/1217419 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
config = JSON.parse require('fs').readFileSync './config.json', 'utf8' | |
zappa 80, {config}, -> | |
@config = config | |
get '/': -> | |
render 'index' | |
zappa 33, {config}, -> | |
helper fakeData: -> | |
include 'faker.coffee' | |
get '/': -> | |
fakeData() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment