-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigVars.js
55 lines (49 loc) · 1.06 KB
/
configVars.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
export default {
myDB : {
name: 'myDB',
username: 'myDB',
password: 'myDB',
host: 'localhost',
port: 3306,
type: 'mariadb',
flags: '-LOCAL_FILES'
},
nodeExpressServer: {
port: 5000,
host: '127.0.0.1'
},
nodeExpressWebServer: {
port: 4000,
host: '127.0.0.1'
},
APIPaths: {
orders: '/orders',
order: '/order',
masterData: '/masterData',
login: '/login',
//...
},
NODE_ENV : 'development',
jwtExpiration: '2h',
jwtSecret: 'orch',
cookieMaxAge: 2 * 60 * 60 * 1000,
passwordMinLength: 6,
passwordPattern: /(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/,
saltRounds: 10,
locateDate: 'es-ES',
localeDateFormats: {
es: 'es-ES',
en: 'en-GB',
},
sequelize:
{
logging: false,
benchmark: false,
},
logging: {
development : true,
errorLogPath: '../logs/error.log',
allLogPath: '../logs/all.log',
},
//...
}