-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
86 lines (62 loc) · 1.89 KB
/
config.js
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
module.exports = {
appId: 'myAppId',
appName: 'myAppName',
masterKey: 'myMasterKey',
cloud: './cloud/index.js',
databaseURI: 'mongodb://localhost:27017/parse',
collectionPrefix: 'APS',
publicServerURL: 'http://localhost:1337',
maxUploadSize: '20mb',
// cloud: '/home/myApp/cloud/main.js',
port: 1337,
serverURL: 'http://localhost:1337',
allowClientClassCreation: true,
enableAnonymousUsers: true,
// Email
verifyUserEmails: true,
// in seconds (2 hours = 7200 seconds)
emailVerifyTokenValidityDuration: 2 * 60 * 60,
preventLoginWithUnverifiedEmail: false,
verbose: 1,
jsonLogs: 1,
emailAdapter: {
module: 'parse-server-nodemailer-adapter',
options: {
fromAddress: '[email protected]',
transportURI: 'smtps://user%40gmail.com:[email protected]'
}
},
// See: https://github.com/ParsePlatform/parse-server/wiki/Push
/*
push: {
android: {
// The Sender ID of GCM
senderId: '',
// The Server API Key of GCM
apiKey: ''
}, /
ios: {
// The filename of private key and certificate in PFX or PKCS12 format from disk
pfx: '',
// optional password to your p12
passphrase: '',
// If not using the .p12 format, the path to the certificate PEM to load from disk
cert: '',
// If not using the .p12 format, the path to the private key PEM to load from disk
key: '',
// The bundle identifier associate with your app
bundleId: '',
// Specifies which environment to connect to: Production (if true) or Sandbox
production: false
}
},
*/
// https://github.com/ParsePlatform/parse-server/wiki/Parse-LiveQuery
liveQuery: {
classNames: ['Test', 'TestAgain']
}
// oauth: {}
// facebookAppIds: []
// mountPath: '/parse'
// filesAdapter:
}