express-coffee

A Template for NodeJs Application using Express, CoffeeScript, Jade, Stylus, Nib

  • 所有者: twilson63/express-coffee
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Express Coffee Template 9 (1.9.0)

This is a Node Express CoffeeScript Stack Template

It comes ready to go with connect-assets that give you the option
to use coffee-script and stylus for the client side.

Technologies

This is a template that can be used to create nodejs applications using

  • Node v4.2.x
  • Express v4.13.x
  • CoffeeScript v1.10.x
  • Jade v1.11.0
  • Stylus v0.52.x
  • bootstrap-stylus 2.3.1 (not a npm module)
  • Nib v1.1.x
  • Connect Assets v2.5.x
  • MongoDB / Mongoose 3.8.x

Requirements

These will install with npm, just do

npm install

In your project directory.


Install, Build, Run, Test, and Watch

# Install nodejs and npm

git clone http://github.com/twilson63/express-coffee.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://mochajs.org/

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

Thanks to

About

express-coffee is a template or boiler-plate to get started writing
express web applications in CoffeeScript. 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 spec to run your test suite. Create your
jade views in the views folder and put your public assets in the public
folder. Enjoy your express-coffee

License

See LICENSE

Contribute

pull requests are welcome

主要指標

概覽
名稱與所有者twilson63/express-coffee
主編程語言CoffeeScript
編程語言CoffeeScript (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2010-06-26 10:16:18
推送於2020-09-04 22:49:02
最后一次提交2017-09-22 09:16:34
發布數3
最新版本名稱v1.2.1 (發布於 )
第一版名稱v0.1.0 (發布於 )
用户参与
星數627
關注者數30
派生數152
提交數133
已啟用問題?
問題數29
打開的問題數6
拉請求數28
打開的拉請求數2
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?