提供短網址
- 再輸入欄輸入網址後點選shorten按鈕即可獲取短網址
- 按下copy即可複製短網址
- 紀錄已產生之短網址以減少不必要之資訊
請確保有安裝node.js 和 npm並在終端機(Terminal)中進行以下操作:
1.複製檔案
git clone https://github.com/f88643/URLshortener.git
2.前往資料夾URLshortener
cd URLshortener/
3.安裝套件
npm install
4.執行
npm run dev
若看到以下訊息即為安裝成功,可在瀏覽器輸入http://localhost:3000 開始瀏覽
express server is running on http://localhost:3000
欲退出請連按兩次Ctrl + C
- Node.js: 18.18.2