/lost-found

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Lost & Found

Data Model

Firebase Database

This extension connects to a simple firebase database via @doubledutch/firebase-connector on a per-event basis.

public/users

{
  "items": {
    "type": "found",
    "description": "",
    "lastLocation": "",
    "currentLocation": "",
    "dateCreate": "new Date().getTime()",
    "creator": "client.currentUser",
    "isResolved": false
  },
  "reports": {
    ":item.id": {
      "reportTime": "new Date().getTime()",
      "isBlock": false,
      "isApproved": false
    }
  }
}