Skip to content

maiah/modelfire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modelfire

Model plugin that uses Firebase datasource

Installation

Install with component(1):

$ component install maiah/modelfire

Usage

var model = require('model'),
    modelfire = require('modelfire');

var Person = model('Person')
  .attr('name')
  .attr('job')
  .attr('address')
  .use(modelfire('https://myapp.firebaseio.com/'));

var gohan = new Person();

API

modelfire(firebaseLocation)

Enables your model to use and bind to the specified firebaseLocation.

License

MIT

About

Model plugin that uses Firebase datasource

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published