Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lightyrs/euph.io

The results are in amigo. What's left to ponder?
https://github.com/lightyrs/euph.io

Last synced: 13 days ago
JSON representation

The results are in amigo. What's left to ponder?

Awesome Lists containing this project

README

        

# Express Coffee Template 4 (1.4)

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 v0.6.17
* Express v3.0.0alpha4
* CoffeeScript! v1.3.3
* Jade v0.26.0
* Connect Assets v2.2.1

## Requirements

* [NodeJs](http://nodejs.org)
* [Express](http://expressjs.com)
* [CoffeeScript](http://coffeescript.org)
* [Jade](http://jade-lang.com/)
* [connect-assets](http://github.com/TrevorBurnham/connect-assets)
* [Mocha](https://mochajs.org/)
* [Should.Js](https://github.com/visionmedia/should.js/)

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
```

# Run

```
cake dev
```

### Mocha and Request for testing

mocha is an extremely powerful and easy to use testing framework

see [https://mochajs.org/](https://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

* [Jeremy Ashkenas](https://github.com/jashkenas) for creating coffee-script
* [TJ Holowaychuk](https://github.com/visionmedia) for creating express
* [Miško Hevery](https://github.com/mhevery) for creating Jasmine-Node
* [TJ Holowaychuk](https://github.com/visionmedia) for creating mocha and should.js

## About

express-coffee is a template or boiler-plate to get started writting
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