coffee-express v0.1.4
Coffee Express Template
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
and run cake test or cake spec to run your test suite.
Create your Jade views in the views folder
and put your public assets in the public folder.
It folks twilson63/express-coffee with mongodb dependencies removed.
Technologies
This is a template that can be used to create nodejs applications using
- NodeJs v4.2
- Express v4.13
- CoffeeScript v1.10
- Jade v1.11
- Stylus v0.52
- bootstrap-stylus v2.3.1 (not a npm module)
- Nib v1.1
- connect-assets v2.5
- Mocha
These will install with npm, just do
git clone http://github.com/pengkui/coffee-express.git [project-name]
cd [project-name]
npm installInstall coffee-script, mocha and docco
npm install coffee-script -g
npm install mocha -g
npm install docco -gRun
cake devMocha and Request for testing
Mocha is an extremely powerful and easy to use testing framework
see http://visionmedia.github.com/mocha/
describe 'Sample test', ->
it 'should be true', ->
true.should.equal trueTo run mocha
cake testSetup to deploy to heroku
rm -rf .git
git init
echo 'node_modules' >> '.gitignore'
git add .
git commit -am "first commit"
heroku create
git push heroku master
heroku openContribute
Pull requests are welcome.