-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigTEMPLATE.js
More file actions
53 lines (51 loc) · 1.29 KB
/
Copy pathconfigTEMPLATE.js
File metadata and controls
53 lines (51 loc) · 1.29 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// config.js
//remove "TEMPLATE" from filename; to use config
module.exports = {
mongodb:{
//mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]
url: 'mongodb://localhost/',
db: 'JuicyData'
},
api:{
version: '3.0.0-alpha'
},
jwt:{
key: 'secret'
},
accounts:{
tenativeTime: 432000000, //5 days, in milliseconds; to verify email in signup
passwordChangeTime: 360000, //30 minutes in millisecounds; to change password in forget or reset password
saltRounds: 15 //amount of rounds of salt that bycrypt will use
},
ui:{
url: 'https://juicydata.info'
},
developer:{ //running in developer mode; disables certain features/enables others
ui:{
url: 'http://localhost:1234',
accounts: false //use this url for accounts
},
accounts:{
devEmail: false //Email dev account or real account
}
},
nodemailer:{
name: '"Juicy Data" <jd@gmail.com',
service: 'email',
email: 'juicydataemail@email.com',
password: 'password123ABC'
},
multer:{
dest: '/Users/user/Developer/juicydata/juicydataapi/juicydataapi/data/uploads/'
},
permissions:[ //add more permissions this way or change exsisting permissions
{
group: 'admin',
permissionLevel: 4.0
},
{
group: 'default',
permissionLevel: 0.0
}
]
}