Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thlorenz/bdd_nodechat
Reimplementing node.js chat example in CoffeeScript BDD style using jasmine
https://github.com/thlorenz/bdd_nodechat
Last synced: 26 days ago
JSON representation
Reimplementing node.js chat example in CoffeeScript BDD style using jasmine
- Host: GitHub
- URL: https://github.com/thlorenz/bdd_nodechat
- Owner: thlorenz
- Created: 2011-07-04T15:44:00.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2018-06-13T04:15:43.000Z (over 6 years ago)
- Last Synced: 2024-10-23T06:15:24.846Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 205 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.markdown
Awesome Lists containing this project
README
## BDD NodeChat
This is a re-implementation of the [node sample chat room application](http://github.com/ry/node_chat/tree/master).
The client side was virtually left untouched, but the chat server was entirely rewritten using [CoffeeScript](http://jashkenas.github.com/coffee-script/)
in a [BDD](http://en.wikipedia.org/wiki/Behavior_Driven_Development) manner using [Jasmine](http://pivotal.github.com/jasmine).
The router,fu.jsused by the chat server was replaced with the [node-router](https://github.com/creationix/node-router).
## Why?
I just wanted to see how easy (or not) it is to write JavaScript/CoffeeScript server side apps in a behavior driven way.
I was positively surprised.## To run:
### Compile using CoffeeScript
If not installed:npm install -g coffee-script
Compile server and bootstrapper:coffee -c *.coffee
### Start 'em up:
node bootstrapper