BackboneJS marionette POC that using http://gangofbb.bhtz.fr/ rest api.
Illustrate how to build backbone marionette single page application with requirejs. Grunt tasks can build production application with one index.js file (vendors, application and precompiled handlebars templates).
You have to create account and signIn in same browser.
node.js >= 0.8
grunt-cli
npm
stylus
bower
git
Run the following commands:
bower install
npm install
grunt debug
grunt move
Move files in ./www folder like assets, bower components and sources code.
grunt build
Clean ./www folder, execute "move" task, compile stylus (development mode) and concat requirejs, require-config and kernel file to index.js.
grunt debug
Execute "build" task, run connect http server and watch for stylus, assets or sources file modifications (compile if file change).
grunt production
Compile all files and execute r.js minifier to concat and uglify all application dependencies in one file. The result is a ready to use production application that can be found in ./build folder.
grunt docs
Generate docco documentation based on code comments and open it in default web browser.
- http://gangofbb.bhtz.fr/ -- Application REST WEB Service.
- http://backbonejs.org/ -- BackboneJS documentation (SPA JavaScript Framework).
- http://marionettejs.com/ -- MarionetteJS documentation (BackboneJS Framework).
- http://gruntjs.com/ -- GruntJS documentation (Task runnner).
- http://bower.io/ -- Bower documentation (frontend package manager).
- http://learnboost.github.io/stylus/ -- Stylus documentation (CSS preprocessor).
- http://nodejs.org/ -- NodeJS documentation.
- http://git-scm.com/ -- Git documentation (distributed version control system).
movies-backbone is released under the MIT license.