mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-15 12:16:22 +00:00
start adding firebase
This commit is contained in:
parent
6d91a1905a
commit
f5f19d146e
3 changed files with 7 additions and 0 deletions
|
|
@ -69,5 +69,9 @@
|
|||
"KEY": "key.pem",
|
||||
"CERT": "cert.pem"
|
||||
}
|
||||
},
|
||||
"FIREBASE": {
|
||||
"APP": "app-name",
|
||||
"SECRET": "secret"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
"domain-middleware": "~0.1.0",
|
||||
"express": "~3.17.5",
|
||||
"express-csv": "~0.6.0",
|
||||
"firebase": "^2.2.9",
|
||||
"grunt": "~0.4.1",
|
||||
"grunt-browserify": "^3.3.0",
|
||||
"grunt-cli": "~0.1.9",
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ var async = require('async');
|
|||
var logging = require('../logging');
|
||||
var Challenge = require('./../models/challenge').model;
|
||||
|
||||
// NOTE any change to groups' members in MongoDB will have to be run through the API
|
||||
// changes made directly to the db will cause Firebase to get out of sync
|
||||
var GroupSchema = new Schema({
|
||||
_id: {type: String, 'default': shared.uuid},
|
||||
name: String,
|
||||
|
|
|
|||
Loading…
Reference in a new issue