Skip to content

yanghaotse/URL-Shortener

Repository files navigation

URL Shortener 短網址產生器

介紹

將長長的網址縮成短短的「短網址產生器」

功能

  • 輸入網址轉換成短網址
  • 點擊按鈕複製網址
  • 透過短網址轉址到原本網址

開始使用

  1. 請先確認有安裝 node.js 與 npm
  2. 將專案 clone 到本地
  3. 在本地開啟之後,透過終端機進入資料夾,輸入:
npm install
  1. 安裝完畢後,繼續輸入
  • 一般啟動:
npm run start
  • nodemon啟動:
npm run dev
  1. 若看見此行訊息則代表順利運行,打開瀏覽器進入到以下網址
App is running on http://localhost:3000
  1. 若看見此行訊息代表與資料庫MongoDB連線成功
MongoDB connect!
  1. 若欲暫停使用
ctrl + c

開發工具

  • Node.js 18.15.0
  • Express 4.18.2
  • Express-Handlebars 4.0.2
  • MongoDB 5.9.7
  • mongoose 6.0.5
  • Bootstrap 5.1.3
  • Bootswatch
  • body-parser 1.20.2
  • Google Fonts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors