resourceful mongodb engine


A MongoDB engine for resourceful, a datamapper part of the flatiron project.

Ryan Fitzgerald, Follow @TheRyanFitz on Twitter.

This project is in a very early stage, with limited functionality. Don't use in production.

  var resourceful = require('resourceful');
  var Person = resourceful.define('person', function () {
    // Specify use of the mongodb engine 
    this.use('mongodb', {
      collection: "people" // collection must always be set when using the mongo engine 
  $ curl | sh
  $ [sudo] npm install resourceful-mongo

All tests are written with mocha and should be run with npm:

  $ npm test

Author: Ryan Fitzgerald

License: Apache 2.0