config.js 497 Bytes
Newer Older
1
2
3
4
const config = {
    env: process.env.NODEENV || 'development',
    port: process.env.PORT || 3001,
    jwtSecret: process.env.JWT_SECRET || 'My_Secret_Key',
Jiwon Yoon's avatar
Jiwon Yoon committed
5
    mongoDbUri: process.env.MONGEDB_URI || 'mongodb://localhost/shopping-mall',
이재연's avatar
이재연 committed
6
7
    kakaoAdminKey: 'b2dda7685c5b2990684d813e362cff07',
    cookieMaxAge: 60 * 60 * 24 * 7 * 1000
8
9
}

Jiwon Yoon's avatar
Jiwon Yoon committed
10
11
12
13
14
15
16
17
18
// const config = {
//     port: 3001,
//     kakaoAdminKey: 'b2dda7685c5b2990684d813e362cff07',
//   }
  
  export default config
  

// export default config