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
fc21aec5
Commit
fc21aec5
authored
Jul 14, 2021
by
Kim, Chaerin
Browse files
Merge branch 'room-api'
parents
21fb43bd
70a0fec7
Changes
22
Hide whitespace changes
Inline
Side-by-side
routes/room.route.js
0 → 100644
View file @
fc21aec5
import
express
from
"
express
"
;
import
roomCrtl
from
"
../controllers/room.controller.js
"
;
const
router
=
express
.
Router
();
router
.
route
(
"
/
"
).
post
(
roomCrtl
.
login
);
export
default
router
;
routes/user.route.js
0 → 100644
View file @
fc21aec5
import
express
from
"
express
"
;
import
userCtrl
from
"
../controllers/user.controller.js
"
;
const
router
=
express
.
Router
();
router
.
route
(
"
/login
"
).
post
(
userCtrl
.
login
);
router
.
route
(
"
/signup
"
).
post
(
userCtrl
.
test
);
export
default
router
;
Prev
1
2
Next
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