This is a template for getting started writing Express.js application in CoffeeScript, Jade, and Stylus, for both server app and client assets.
It comes ready to go with base setup for an Express Web App.
It includes a
Cakefile that lets you build, spec,
and watch your CoffeeScript as you develop.
You hack in the
src folder and run
cake build to build you server files,
write your mocha in your test folder
cake test or
cake spec to run your test suite.
Create your Jade views in the
and put your public assets in the
It folks twilson63/express-coffee with mongodb dependencies removed.
This is a template that can be used to create nodejs applications using
These will install with npm, just do
git clone http://github.com/pengkui/coffee-express.git [project-name] cd [project-name] npm install
npm install coffee-script -g npm install mocha -g npm install docco -g
Mocha is an extremely powerful and easy to use testing framework
describe 'Sample test', -> it 'should be true', -> true.should.equal true
To run mocha
rm -rf .git git init echo 'node_modules' >> '.gitignore' git add . git commit -am "first commit" heroku create git push heroku master heroku open
Pull requests are welcome.