This is a simple demo app, written in coffeescript with express/node.js and mongodb. I’ve been following along with Ciaran Jessup’s excellent tutorial, but working in coffeescript whenever practical.
You’ll need to install:
- mongodb (1.4.0)
- coffee-script (0.6.1)
- node (v0.1.91)
- kiwi (0.3.0)
Then install using kiwi:
- express 0.9.0
- haml 0.3.0
- mongodb-native 0.7.1
Then run:
$ coffee app.coffee
And visit localhost:3000
in your browser.
- View all posts
- Show a post, including comments
- Add comments to a post
- Cappuccino-based “admin” area – it’s a clone of the blog app from CappuccinoCasts with very little modification needed to run on top of Express (instead of Rails)