製作短網址的頁面
- 製作短網址
- 複製短網址
1.請先安裝 node.js 與 npm
2.將專案 clone 到本地
https://github.com/KeYunTinG/ShortenUrl.git
3.在本地開啟之後,透過終端機進入資料夾
cd ShortenUrl
4.安裝npm 套件
npm install
5.安裝完畢後,輸入:
npm run dev
6.若能看見以下訊息代表運行成功,可用瀏覽器進入到以下網址:
Express is listening on localhost:3000
7.結束運行請輸入:
ctrl + c
- Node.js 16.17.1
- Express 4.17.1
- Express-Handlebars 4.0.2
- Bootstrap 5.1.3
- MongoDB
- mongoose 5.9.7
- body-parser 1.20.1