0.0.18 • Published 8 years ago

foxbase v0.0.18

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

foxbase

A lightweight model/lifecycle library for Google's Firebase. Includes models scoped to a current user, child relationships, and blob associations (i.e. for images/attachements)

#notes

  • very much a work-in-progress, all is subject to change!
  • bring your own validator (i.e. JSON Schema or whatever comes packaged with your UI library)

usage

npm install foxbase
import Foxbase from 'foxbase';
module.exports = new Foxbase.UserModel('contacts', {
  rootChildren: ['connections'],
  blobFields: ['headshot']
});

module.exports = new Foxbase.UserModel('connections', {
  createdAt: true,
  rootChildren: [],
  blobFields: [] 
});

license

MIT License.

contributing

Let's chat!

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago