GithubHelp home page GithubHelp logo

url_shortener's Introduction

縮網址網站

簡介

這是一個將網址縮短的網站,縮短後的網址為 http://localhost:3000/ + 五碼英文數字

功能

・使用者可在主頁面輸入欲縮短的網址,提交後即可取得縮網址。

・系統會記錄使用者輸入過的網址,輸入同樣網址將得到同樣的縮網址。

安裝

  1. 使用終端機 Clone 此專案至本機電腦
git clone https://github.com/PigeonShogi/URL_Shortener.git
  1. 使用終端機進入存放此專案的資料夾
cd URL_Shortener
  1. 安裝 nodemon
npm install -g nodemon
  1. 建立 package.json 檔
npm init -y
  1. 利用 npm 安裝所需套件
npm i [email protected]
npm i [email protected]
npm i mongoose

  1. 以 nodemon 開啟 app.js
npm run dev
  1. 複製顯示在終端機的網址( http://localhost:3000/ ),前往網頁

開發工具

  • Node.js 14.16.0
  • Express 4.18.1
  • Express-Handlebars 6.0.6
  • Bootstrap 5.2.0
  • body-parser 1.20.0
  • mongoose 6.4.2

url_shortener's People

Contributors

pigeonshogi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.