-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
44 lines (42 loc) · 949 Bytes
/
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
/**
* The main configuration file.
* 'prod' and 'dev' must both follow this schema:
* {
* port: Number
* mongodb: {
* hostname : String,
* username : String,
* password : String,
* port : Number,
* database : String
* }
* }
*/
module.exports = {
prod: {
port: 10000, // do not change this
mongodb: {
hostname : 'localhost',
username : '',
password : '',
port : '',
database : 'fba'
}
},
dev: {
port: 9001,
mongodb: {
hostname : 'localhost',
username : '',
password : '',
port : '',
database : 'fba'
},
mysql: {
host : 'localhost',
user : 'root',
password : '',
database : 'fba'
}
}
};