Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .DS_Store
Binary file not shown.
Binary file added kyeoungwoon/.DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions kyeoungwoon/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"javascript.preferences.importModuleSpecifierEnding": "js"
}
17 changes: 17 additions & 0 deletions kyeoungwoon/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// const express = require('express') // -> CommonJS
import express from "express"; // -> ES Module

const app = express();
const port = 3000;

app.get("/", (req, res) => {
res.send("Hello World!");
});

app.get("/about", (req, res) => {
res.send("GET /about");
});

app.listen(port, () => {
console.log(`Example app listening on port ${port}`);
});
Binary file added kyeoungwoon/node_modules/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions kyeoungwoon/node_modules/.bin/nodemon

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions kyeoungwoon/node_modules/.bin/nodetouch

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions kyeoungwoon/node_modules/.bin/semver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading