#Express 3 boilerplate
This boilerplate is the product of experimenting with Node.js. It aims to provide basic scaffolding for Express 3 projects that include client-side.
$ npm install
The src
folder is meant to be the working directory. Corresponding files are compiled to the compiled
directory.
The Cakefile includes several tasks for certain environments. To compile Sass and CoffeeScript on the fly start the appropriate watcher by cd'ing into
./node_modules/coffee-script/bin/
You are able to run tasks like so
$ cake dev
$ node server
For testing purpose I used mocha and should.js for BDD style assertions. Sample test included.
Test client-side code
$ cake testClient
You could also run all tests
$ npm test
Check out the Cakefile for more build tasks.