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
bora-it
Commits
2bf918de
Commit
2bf918de
authored
Jul 26, 2021
by
Kim, Chaerin
Browse files
초기 환경 설정 변경
parent
2eab9ded
Changes
5
Hide whitespace changes
Inline
Side-by-side
client/package.json
View file @
2bf918de
...
@@ -41,5 +41,6 @@
...
@@ -41,5 +41,6 @@
"last 1 safari version"
"last 1 safari version"
]
]
},
},
"proxy"
:
"http://localhost:8080"
"proxy"
:
"http://localhost:8080"
,
"secure"
:
false
}
}
models/room.model.js
View file @
2bf918de
import
{
DataTypes
}
from
"
sequelize
"
;
import
pkg
from
"
sequelize
"
;
const
{
DataTypes
}
=
pkg
;
const
RoomModel
=
(
sequelize
)
=>
{
const
RoomModel
=
(
sequelize
)
=>
{
const
Room
=
sequelize
.
define
(
const
Room
=
sequelize
.
define
(
...
...
models/user.model.js
View file @
2bf918de
import
bcrypt
from
"
bcryptjs
"
;
import
bcrypt
from
"
bcryptjs
"
;
import
{
DataTypes
}
from
"
sequelize
"
;
import
pkg
from
"
sequelize
"
;
const
{
DataTypes
}
=
pkg
;
const
UserModel
=
(
sequelize
)
=>
{
const
UserModel
=
(
sequelize
)
=>
{
const
User
=
sequelize
.
define
(
const
User
=
sequelize
.
define
(
...
...
nodemon.json
0 → 100644
View file @
2bf918de
{
"watch"
:
[
"server"
],
"ext"
:
"js,jsx,json"
,
"ignore"
:
[
"src/**/*.spec.js"
],
"exec"
:
"node ./index.js"
}
\ No newline at end of file
package.json
View file @
2bf918de
...
@@ -3,10 +3,12 @@
...
@@ -3,10 +3,12 @@
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"description"
:
"Streaming Service"
,
"description"
:
"Streaming Service"
,
"main"
:
"index.js"
,
"main"
:
"index.js"
,
"type"
:
"module"
,
"scripts"
:
{
"scripts"
:
{
"start"
:
"nodemon index.js"
,
"start"
:
"node dist/index.js"
,
"dev"
:
"nodemon -r esm index.js"
,
"build"
:
"tsc"
,
"build"
:
"tsc -p ."
"dev"
:
"nodemon"
,
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
},
},
"repository"
:
{
"repository"
:
{
"type"
:
"git"
,
"type"
:
"git"
,
...
...
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