/movies-backbone

Single Page Application using gangofbb-rest-api and Backbone Marionette.

Primary LanguageCSSMIT LicenseMIT

README

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.

Requirements

node.js >= 0.8
grunt-cli
npm
stylus
bower
git

Installation

Run the following commands:

bower install
npm install
grunt debug

Grunt commands

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.

Usefull link

Licence

movies-backbone is released under the MIT license.