index.js 255 Bytes
Newer Older
Park Sungwoo's avatar
push    
Park Sungwoo committed
1
2
3
4
5
6
7
8
9
10
11
12
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.`)
})