Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Just playing with grape

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 api
Octocat-spinner-32 app
Octocat-spinner-32 coffee
Octocat-spinner-32 config
Octocat-spinner-32 features
Octocat-spinner-32 models
Octocat-spinner-32 public
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 config.ru
README.md

Testting out Grape, Backbone, and CoffeeScript together

So I've already written an extensive BackboneJS application, but that was ~1.5 years ago and I've just forgotten it all by now. I also didn't use CoffeeScript back then, so this is an opportunity for me to put together an example using the pair.

Finally, I want to pursue using Grape for APIs so that's going in here as well.

Development

Install coffee-script:

npm install -g coffee-script

That obv. assumes you already have node installed.

Next, tell it to watch the coffee files in coffee/lib and compile them in public/javascript:

coffee -o public/javascript -cw coffee/lib
Something went wrong with that request. Please try again.