-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
36 lines (33 loc) · 1.3 KB
/
Copy pathconfig.js
File metadata and controls
36 lines (33 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
function Config() {
this.port = '4000';
this.hostname = 'localhost:4000';
this.dbUrl = 'mongodb://carterapp:cartermlab@ds135747.mlab.com:35747/carter';
this.auth = {
'facebookAuth' : {
'clientID': '1753182531643903', // App ID
'clientSecret': '62413e7ca7da2295c9c39af62d6554e2', // your App Secret
'callbackURL': 'http://localhost:8080/auth/facebook/callback',
'profileURL': 'https://graph.facebook.com/v2.11/me?fields=first_name,last_name,email',
'profileFields': ['id', 'email', 'name'] // For requesting permissions from Facebook API
},
'twitterAuth' : {
'consumerKey': 'hvukSLuOWPQBgVEkG5gAuUnrK',
'consumerSecret': 'HjswoYpktiqk98anyHSuacqW3YtLyWlFV2KGOhooggopHQz9WI',
'callbackURL': 'http://localhost:8080/auth/twitter/callback'
},
'googleAuth' : {
'clientID': 'your-secret-clientID-here',
'clientSecret': 'your-client-secret-here',
'callbackURL': 'http://localhost:8080/auth/google/callback'
}
}
this.mailTransportOptions = {
host: 'smtp.sendgrid.net',
port: 587,
auth: {
user: 'apikey', // generated ethereal user
pass: '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' // generated ethereal password
}
}
}
module.exports = new Config();