This application should be both a model and a tutorial for the SPA applications. It tries to treat as much simple behaviour as possible.
This is a simple Backbone based skeleton for Brunch which utilizes MarionetteJS and Bootstrap 3.
Main features are CoffeeScript, Stylus and Handlebars. Bootstrap 3.
- Install
npm install -g brunch mocha gulp bower
- Run
npm install
in the root directory - Run
bower install
in the root directory/ npm start
in order tolaunch the brunch server- Build the project with
brunch b
orbrunch w
. - Open the
public/
dir to see the result. - Write your code in
app/
.
npm run api
will launch a server onlocalhost:8080
npm run doc
will launch docco and serve it into the docs directory, which is by the way not commited.
In order to fully understant the concepts in this application you can have a look on the wiki
Versions of software used:
- jQuery 2.0.3
- Backbone 1.1.0
- Underscore 1.5.2
- Twitter Bootstrap 3.0.0
- MarionetteJS 1.1.0
- MomentJS 2.2.1