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
reservation-service
Commits
5eb9fbc4
Commit
5eb9fbc4
authored
Nov 03, 2020
by
Choi Ga Young
Browse files
package, 서버계정변경, 신경x
parent
96c994a0
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
server/client/package-lock.json
View file @
5eb9fbc4
...
...
@@ -8810,6 +8810,11 @@
"minimist": "^1.2.5"
}
},
"moment": {
"version": "2.29.1",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz",
"integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ=="
},
"mongodb": {
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.6.2.tgz",
...
...
server/client/package.json
View file @
5eb9fbc4
...
...
@@ -12,6 +12,7 @@
"bootstrap"
:
"^4.5.3"
,
"formik"
:
"^2.1.5"
,
"jquery"
:
"^3.5.1"
,
"moment"
:
"^2.29.1"
,
"mongoose"
:
"^5.10.6"
,
"popper.js"
:
"^1.16.1"
,
"react"
:
"^16.13.1"
,
...
...
server/package-lock.json
View file @
5eb9fbc4
This diff is collapsed.
Click to expand it.
server/package.json
View file @
5eb9fbc4
...
...
@@ -15,6 +15,7 @@
"jsonwebtoken"
:
"^8.5.1"
,
"mongoose"
:
"^5.10.6"
,
"morgan"
:
"~1.9.1"
,
"nodemon"
:
"^2.0.6"
,
"pug"
:
"^3.0.0"
}
}
server/schemas/index.js
View file @
5eb9fbc4
...
...
@@ -5,7 +5,7 @@ module.exports = () => {
if
(
process
.
env
.
NODE_ENV
!==
'
production
'
)
{
mongoose
.
set
(
'
debug
'
,
true
);
}
mongoose
.
connect
(
'
mongodb://
hyj:hyj365
7@localhost:27017/admin
'
,
{
mongoose
.
connect
(
'
mongodb://
rkyoung7:rkdud12
7@localhost:27017/admin
'
,
{
dbName
:
'
ku_rental
'
,
useNewUrlParser
:
true
,
useUnifiedTopology
:
true
,
},
(
error
)
=>
{
if
(
error
)
{
...
...
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