0.0.18 • Published 7 years ago

foxbase v0.0.18

Weekly downloads
2
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago