|
| 1 | + |
| 2 | +var path = require('path') |
| 3 | + , rootPath = path.normalize(__dirname + '/..') |
| 4 | + |
| 5 | +module.exports = { |
| 6 | + development: { |
| 7 | + db: 'mongodb://localhost/mean-dev', |
| 8 | + root: rootPath, |
| 9 | + app: { |
| 10 | + name: 'MEAN - A Modern Stack - Development' |
| 11 | + }, |
| 12 | + facebook: { |
| 13 | + clientID: "APP_ID", |
| 14 | + clientSecret: "APP_SECRET", |
| 15 | + callbackURL: "http://localhost:3000/auth/facebook/callback" |
| 16 | + }, |
| 17 | + twitter: { |
| 18 | + clientID: "CONSUMER_KEY", |
| 19 | + clientSecret: "CONSUMER_SECRET", |
| 20 | + callbackURL: "http://localhost:3000/auth/twitter/callback" |
| 21 | + }, |
| 22 | + github: { |
| 23 | + clientID: 'APP_ID', |
| 24 | + clientSecret: 'APP_SECRET', |
| 25 | + callbackURL: 'http://localhost:3000/auth/github/callback' |
| 26 | + }, |
| 27 | + google: { |
| 28 | + clientID: "APP_ID", |
| 29 | + clientSecret: "APP_SECRET", |
| 30 | + callbackURL: "http://localhost:3000/auth/google/callback" |
| 31 | + }, |
| 32 | + }, |
| 33 | + test: { |
| 34 | + db: 'mongodb://localhost/mean-test', |
| 35 | + root: rootPath, |
| 36 | + app: { |
| 37 | + name: 'MEAN - A Modern Stack - Test' |
| 38 | + }, |
| 39 | + facebook: { |
| 40 | + clientID: "APP_ID", |
| 41 | + clientSecret: "APP_SECRET", |
| 42 | + callbackURL: "http://localhost:3000/auth/facebook/callback" |
| 43 | + }, |
| 44 | + twitter: { |
| 45 | + clientID: "CONSUMER_KEY", |
| 46 | + clientSecret: "CONSUMER_SECRET", |
| 47 | + callbackURL: "http://localhost:3000/auth/twitter/callback" |
| 48 | + }, |
| 49 | + github: { |
| 50 | + clientID: 'APP_ID', |
| 51 | + clientSecret: 'APP_SECRET', |
| 52 | + callbackURL: 'http://localhost:3000/auth/github/callback' |
| 53 | + }, |
| 54 | + google: { |
| 55 | + clientID: "APP_ID", |
| 56 | + clientSecret: "APP_SECRET", |
| 57 | + callbackURL: "http://localhost:3000/auth/google/callback" |
| 58 | + } |
| 59 | + }, |
| 60 | + production: { |
| 61 | + db: 'mongodb://localhost/mean', |
| 62 | + root: rootPath, |
| 63 | + app: { |
| 64 | + name: 'MEAN - A Modern Stack - Production' |
| 65 | + }, |
| 66 | + facebook: { |
| 67 | + clientID: "APP_ID", |
| 68 | + clientSecret: "APP_SECRET", |
| 69 | + callbackURL: "http://localhost:3000/auth/facebook/callback" |
| 70 | + }, |
| 71 | + twitter: { |
| 72 | + clientID: "CONSUMER_KEY", |
| 73 | + clientSecret: "CONSUMER_SECRET", |
| 74 | + callbackURL: "http://localhost:3000/auth/twitter/callback" |
| 75 | + }, |
| 76 | + github: { |
| 77 | + clientID: 'APP_ID', |
| 78 | + clientSecret: 'APP_SECRET', |
| 79 | + callbackURL: 'http://localhost:3000/auth/github/callback' |
| 80 | + }, |
| 81 | + google: { |
| 82 | + clientID: "APP_ID", |
| 83 | + clientSecret: "APP_SECRET", |
| 84 | + callbackURL: "http://localhost:3000/auth/google/callback" |
| 85 | + } |
| 86 | + } |
| 87 | +} |
0 commit comments