Sample applications, tests, and examples for Backbone.js.
Notes is a simple personal note manager web application, written for the book Backbone.js Testing. This project introduces situation-specific versions of the application and tests to demonstrate an exemplary modern frontend web project - including the infrastructure, application and full test suite.
First, follow the instructions in INSTALL.md
to get all of the
core technologies needed for any parts of this project.
Then, clone this directory or fork your own version of the repository:
$ cd /PATH/TO/REPOS/
$ git clone https://github.com/FormidableLabs/notes.git
From there, you can find a sub-project (skeleton or full example) and follow the further instructions there.
-
skeleton/amd
: Skeleton AMD application, available in source at:skeleton/amd/
. -
full/amd/README.md
: Full AMD application, available in source at:full/amd/
.
We test all changes with Travis CI. Here's our current build status:
The project assumes a REST backend, but has a localStorage version of the full and skeleton apps available by editing:
var useLs = true; // Use LocalStorage?
in the root gulpfile.js
, and then running:
$ gulp replace:backend
$ gulp
The gh-pages
branch (which also stores built files to source for serving)
has this option enabled.