Flare-k

connect server test

1 +const express = require("express");
2 +const app = express();
3 +const PORT = 80;
4 +
5 +function handleListening() {
6 + console.log(`Listening on: http://localhost:${PORT}`);
7 +}
8 +
9 +app.listen(PORT, handleListening);
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 - "name": "myyoutube", 2 + "name": "myyoutube",
3 - "version": "1.0.0", 3 + "version": "1.0.0",
4 - "description": "make Youtube Website", 4 + "description": "make Youtube Website",
5 - "main": "index.js", 5 + "main": "index.js",
6 - "scripts": { 6 + "scripts": {
7 - "test": "echo \"Error: no test specified\" && exit 1" 7 + "test": "echo \"Error: no test specified\" && exit 1"
8 - }, 8 + },
9 - "repository": { 9 + "repository": {
10 - "type": "git", 10 + "type": "git",
11 - "url": "ssh://git@khuhub.khu.ac.kr:12959/2017110267/myYoutube.git" 11 + "url": "ssh://git@khuhub.khu.ac.kr:12959/2017110267/myYoutube.git"
12 - }, 12 + },
13 - "author": "Kang Yeon Wook", 13 + "author": "Kang Yeon Wook",
14 - "license": "ISC", 14 + "license": "ISC",
15 - "dependencies": { 15 + "dependencies": {
16 - "express": "^4.17.1" 16 + "express": "^4.17.1"
17 - } 17 + },
18 -} 18 + "scripts": {
19 + "start": "node index.js"
20 + }
21 +}
...\ No newline at end of file ...\ No newline at end of file
......