This project is first to train with tools like GruntJS, Yeoman, Backbone.js, Marionette.js...
$ git clone [email protected]/kiki-le-singe/read-list.git
$ cd read-list
$ npm install
$ bower install
$ grunt serve
: Requirements: mongodb, mongoose
Then serve the app on localhost:9000
and opens your default browser
$ grunt serve --stub
Makes the same thing that the above command, except that the 'stub' option allows to enabled or not the retrieving of fake datas.
$ grunt test
Runs tests located in /tests/js/spec
.
You can access tests in your browser, simply create a vhost.
By default the root access for the API is http://localhost:9000/api. Available example: http://localhost:9000/api/libraries
The library used for tests are :
The configuration of the application is located in /app/config
Handlebars helpers is located in /app/scripts/helpers