Skip to content

Instantly share code, notes, and snippets.

@liorkesos
Last active August 29, 2015 14:02
Show Gist options
  • Save liorkesos/598d4b36aab3c7b6c292 to your computer and use it in GitHub Desktop.
Save liorkesos/598d4b36aab3c7b6c292 to your computer and use it in GitHub Desktop.
mean.io configuration server/config/env
config
├── assets.json
├── config.js
├── env
│   ├── all.js
│   ├── development.js
│   ├── production.js
│   └── test.js
├── express.js
├── passport.js
└── system
└── bootstrap.js
'use strict';
module.exports = {
db: 'mongodb://localhost/mean-jsil',
app: {
name: 'MEAN - FullStack JS - Development'
},
facebook: {
clientID: 'APP_ID',
clientSecret: 'APP_SECRET',
callbackURL: 'http://localhost:3000/auth/facebook/callback'
},
twitter: {
clientID: 'CONSUMER_KEY',
clientSecret: 'CONSUMER_SECRET',
callbackURL: 'http://localhost:3000/auth/twitter/callback'
},
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment