app.js 276 Bytes
Newer Older
Park Sungwoo's avatar
123    
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.`)
Park Sungwoo's avatar
Park Sungwoo committed
13
14
15
})

export default app