donedotcom/backbone-mongodb — Issue #1: is there a working example?
Author: nagyv
Created: 2012-02-07 19:16:06+00:00
State: open

hi,

I'm lokking around a nice way to get server and client side model coding done only once. I would like to use mongodb for server side storage, and backbone for general model management [both on the server and cilent](http://stackoverflow.com/questions/9162793/share-backbone-code-on-client-and-server-side-with-mongodb-storage).

I guess that your idea is the same, but as I'm new to node, I could not really find out whether it works or is it more like a prototyping approach. Thus, I would like to ask for some examples.

I've tried to run your vows specs too, but I could not get them running at all. This is my traceback when I've added the required node modules directly to backbone-mongodb.

```
$ ./vows ../../../spec/* --spec

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object #