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
......
...@@ -14,5 +14,8 @@ ...@@ -14,5 +14,8 @@
14 "license": "ISC", 14 "license": "ISC",
15 "dependencies": { 15 "dependencies": {
16 "express": "^4.17.1" 16 "express": "^4.17.1"
17 + },
18 + "scripts": {
19 + "start": "node index.js"
17 } 20 }
18 } 21 }
...\ No newline at end of file ...\ No newline at end of file
......