express 설치 방법
npm install express
npm install express —save-dev @types/express
//@ts-check
/*eslint-disable no-console */
const express = require ('express')
const app = express () // 익스프레스 객체 만들기
const PORT = 5000
app .use ('/', (req , res ) => {
res .send ('hello, express!')
})
app .listen (PORT , () => {
console .log ('The Express server is listening at prot : ${PORT}')
}) // 어느 포트에서 들을지