Commit 27c2fbba authored by Park Sungwoo's avatar Park Sungwoo
Browse files

push

parent 9a2ecc5d
......@@ -3,6 +3,7 @@
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
......
import express from "express";
const port = 3000;
const app = express();
app.get("/", (req, res) => {
console.log("root path get method called.")
res.send("!23")
})
app.listen(port, () => {
console.log(`server is runnug at ${port} port.`)
})
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment