Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강연욱
/
myYoutube
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
2
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Flare-k
2020-05-15 16:18:06 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
102597d6f8c0de3992ca6b0c9fdd00c577a57b03
102597d6
1 parent
46c9562b
connect server test
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
index.js
package.json
index.js
View file @
102597d
const
express
=
require
(
"express"
);
const
app
=
express
();
const
PORT
=
80
;
function
handleListening
()
{
console
.
log
(
`Listening on: http://localhost:
${
PORT
}
`
);
}
app
.
listen
(
PORT
,
handleListening
);
\ No newline at end of file
...
...
package.json
View file @
102597d
...
...
@@ -14,5 +14,8 @@
"license"
:
"ISC"
,
"dependencies"
:
{
"express"
:
"^4.17.1"
},
"scripts"
:
{
"start"
:
"node index.js"
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment