mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
start adding firebase
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user