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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
17 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
{
"name"
:
"myyoutube"
,
"version"
:
"1.0.0"
,
"description"
:
"make Youtube Website"
,
"main"
:
"index.js"
,
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
},
"repository"
:
{
"type"
:
"git"
,
"url"
:
"ssh://git@khuhub.khu.ac.kr:12959/2017110267/myYoutube.git"
},
"author"
:
"Kang Yeon Wook"
,
"license"
:
"ISC"
,
"dependencies"
:
{
"express"
:
"^4.17.1"
}
}
"name"
:
"myyoutube"
,
"version"
:
"1.0.0"
,
"description"
:
"make Youtube Website"
,
"main"
:
"index.js"
,
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
},
"repository"
:
{
"type"
:
"git"
,
"url"
:
"ssh://git@khuhub.khu.ac.kr:12959/2017110267/myYoutube.git"
},
"author"
:
"Kang Yeon Wook"
,
"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