backbone-relational-mapper

An ORM for Backbone-Relational.

Backbone-Relational-Mapper

This module is absolutely not ready for any usage, as it is in very early development. Pull requests are welcome, but be aware that everything may change very fast; your relevant pull request today may not be relevant tomorrow.

A simple npm install backbone-relational-mapper should do the trick. Open an issue if it doesn't.

You should define your models as you would do in Backbone-Relational, with an added fields object:

class SomeModel extends Backbone.RelationalModel

  fields:
    some_text_field: Backbone.Types.Text