ruby gem to generate backbone boilerplate code
$ gem install backbone_generator
To scaffold out new backbonejs app run this command
backbone_generator new app_name
To create a model run the command
backbone_generator model model_name
To create a new view run this command
backbone_generator view view_name
To create a new route run this command
backbone_generator route route_name
To create a new collection run this command
backbone_generator collection collection_name
To add a utility to your project run this command
backbone_generator utility utility_name
To start a server run this command
backbone_generator server {optional port number}
The default port that server starts on is 5000, conditionally you can specify a different port number
To create add a new javascript library to your project run this command
backbone_generator library library_name
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- Tawheed Abdul-Raheem [email protected]
Mohammad Tahawi for his help in thinking through some of the features
Addy Osamani for his open source book on backbonejs
Derick Bailey for his awesomse post on naming conventions