Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.38 KB

README.md

File metadata and controls

39 lines (32 loc) · 1.38 KB

Blank spa application

Purpose

This application should be both a model and a tutorial for the SPA applications. It tries to treat as much simple behaviour as possible.

Skeleton

This is a simple Backbone based skeleton for Brunch which utilizes MarionetteJS and Bootstrap 3.

Main features are CoffeeScript, Stylus and Handlebars. Bootstrap 3.

Getting started

  • 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 or brunch w.
  • Open the public/ dir to see the result.
  • Write your code in app/.

Launch an api in order to simulate the app

  • npm run api will launch a server on localhost:8080

Generate the code documentation

  • npm run doc will launch docco and serve it into the docs directory, which is by the way not commited.

Wiki

In order to fully understant the concepts in this application you can have a look on the wiki

Main dependencies

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