- Getting Date/time/method/url/respond-time of current request
- Getting Date/time/method/url/respond-time of current request
- Node.js: 6.4.1
- Express: 4.17.1
- nodemon: 2.0.4
1.開啟終端機(Terminal) cd 到存放專案本機位置並執行:
git clone https://github.com/derek800109/middleware-respond-time.git
2.cd 至 middleware-respond-time 資料夾
3.初始化安裝套件
npm init //安裝套件
npm run dev //啟動程式
5.終端機顯示以下資訊代表啟動成功 Express is running on http://localhost:3000
6.伺服器已經成功連線並運作於 http://localhost:3000