Skip to content

Instantly share code, notes, and snippets.

@auser
Last active Aug 11, 2016
Embed
What would you like to do?
// config/development.js
module.exports = {
NAME: 'FirestackDemo.dev',
firestack: {
apiKey: "XXXXXXXX",
authDomain: "your-auth-domain.firebaseapp.com",
databaseURL: "https://your-database-url.firebaseio.com",
storageBucket: "your-storage-bucket.appspot.com",
}
}
// In config/environment.js
let defaultEnv = {
NAME: 'FirestackDemo'
}
let env = {}
if (process.env.NODE_ENV === 'development') {
env = require('./development')
}
module.exports = Object.assign({}, defaultEnv, env);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment