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
git example
Commits
27c2fbba
Commit
27c2fbba
authored
Jan 09, 2023
by
Park Sungwoo
Browse files
push
parent
9a2ecc5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
27c2fbba
...
...
@@ -3,6 +3,7 @@
"version"
:
"1.0.0"
,
"description"
:
""
,
"main"
:
"index.js"
,
"type"
:
"module"
,
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
},
...
...
src/index.js
0 → 100644
View file @
27c2fbba
import
express
from
"
express
"
;
const
port
=
3000
;
const
app
=
express
();
app
.
get
(
"
/
"
,
(
req
,
res
)
=>
{
console
.
log
(
"
root path get method called.
"
)
res
.
send
(
"
!23
"
)
})
app
.
listen
(
port
,
()
=>
{
console
.
log
(
`server is runnug at
${
port
}
port.`
)
})
\ No newline at end of file
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