Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
Today KU
Commits
3436ad8e
Commit
3436ad8e
authored
Nov 05, 2021
by
Yoon, Daeki
😅
Browse files
설정 수정
parent
7c078f88
Changes
4
Hide whitespace changes
Inline
Side-by-side
client/.gitignore
View file @
3436ad8e
...
...
@@ -22,3 +22,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
\ No newline at end of file
client/package.json
View file @
3436ad8e
...
...
@@ -8,6 +8,7 @@
"@fullcalendar/daygrid"
:
"^5.10.0"
,
"@fullcalendar/interaction"
:
"^5.10.0"
,
"@fullcalendar/react"
:
"^5.10.0"
,
"@popperjs/core"
:
"^2.10.2"
,
"@testing-library/jest-dom"
:
"^5.14.1"
,
"@testing-library/react"
:
"^11.2.7"
,
"@testing-library/user-event"
:
"^12.8.3"
,
...
...
server/config/app.config.js
View file @
3436ad8e
const
config
=
{
env
:
process
.
env
.
NODE_ENV
===
'
production
'
?
'
production
'
:
'
development
'
,
port
:
process
.
env
.
PORT
||
30
0
1
,
jwtSecret
:
'
lrfp8sQdoLG6eT
'
,
jwtExpires
:
'
30d
'
,
cookieName
:
'
todayku
'
,
cookieNameMb
:
'
confirmNum
'
,
cookieMaxAge
:
60
*
60
*
24
*
30
*
1000
,
}
env
:
process
.
env
.
NODE_ENV
===
"
production
"
?
"
production
"
:
"
development
"
,
port
:
process
.
env
.
PORT
||
30
3
1
,
jwtSecret
:
"
lrfp8sQdoLG6eT
"
,
jwtExpires
:
"
30d
"
,
cookieName
:
"
todayku
"
,
cookieNameMb
:
"
confirmNum
"
,
cookieMaxAge
:
60
*
60
*
24
*
30
*
1000
,
}
;
export
default
config
\ No newline at end of file
export
default
config
;
server/config/db.config.js
View file @
3436ad8e
const
config
=
{
host
:
'
localhost
'
,
username
:
process
.
env
.
PG_USER
||
'
kuku
'
,
password
:
process
.
env
.
PG_PASSWORD
||
'
kuku0725
'
,
database
:
process
.
env
.
PG_DATABASE
||
'
today
KUDB
'
,
dialect
:
'
postgres
'
,
timezone
:
'
+09:00
'
,
pool
:
{
max
:
10
,
min
:
0
,
acquire
:
30000
,
idle
:
10000
,
}
}
host
:
"
localhost
"
,
username
:
process
.
env
.
PG_USER
||
"
kuku
"
,
password
:
process
.
env
.
PG_PASSWORD
||
"
kuku0725
"
,
database
:
process
.
env
.
PG_DATABASE
||
"
today
_kudb
"
,
dialect
:
"
postgres
"
,
timezone
:
"
+09:00
"
,
pool
:
{
max
:
10
,
min
:
0
,
acquire
:
30000
,
idle
:
10000
,
}
,
}
;
export
default
config
\ No newline at end of file
export
default
config
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment