Narcissistic Project Managers
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

coffee-express

0.1.4 • Public • Published

Coffee Express Template

NPM Version NPM Downloads Linux Build

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

These will install with npm, just do

git clone http://github.com/pengkui/coffee-express.git [project-name]
cd [project-name]
npm install

Install coffee-script, mocha and docco

npm install coffee-script -g
npm install mocha -g
npm install docco -g

Run

cake dev

Mocha 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 true

To run mocha

cake test

Setup 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 open

Contribute

Pull requests are welcome.

install

npm i coffee-express

Downloadsweekly downloads

0

version

0.1.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability