GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ks0dcongra/short-url

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
config
config
 
 
models
models
 
 
public
public
 
 
routes
routes
 
 
utils
utils
 
 
views
views
 
 
.gitignore
.gitignore
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
app.js
app.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

短網址產生器

首頁畫面上有一個表單,使用者可以在表單輸入原始網址,如 https://www.google.com;送出表單之後,畫面會回傳格式化後的短網址,如 https://shortUrl5566.herokuapp.com/6y7UP

功能列表

  1. 可以在首頁輸入欲縮短之網址
  2. 畫面呈現短網址
  3. 短網址可進行一鍵複製之動作
  4. 瀏覽器貼上複製完後的短網址,如果是本地端的話:localhost:3000/https://your-project-name.herokuapp.com/OXOXO

先決條件

  • Windows系統

安裝

1.開啟終端機(Terminal)cd 到存放專案本機位置並執行:

git clone https://github.com/ks0dcongra/short-url.git

2.進入專案資料夾

cd short-url

3.開啟程式

npm run start

4.打開瀏覽器網址列輸入 http://localhost:3000/

終端顯示 Express is running on http://localhost:3000 即啟動完成,請至http://localhost:3000開始使用程式

如果步驟三不能執行再執行步驟五跟六跟七,最後在執行步驟四 npm run start

5.下載 express-handlebars

npm install express-handlebars

6.下載 express

npm install express

7.下載 mongoose套件

npm install mongoose

系統截圖

可輸入網址之首頁 短網址轉換完之顯示頁

使用工具

  • Visual Studio Code - 開發環境
  • MongoDb - 資料庫
  • Mongoose - 在MongoDB和Express Web應用程序框架之間創建連接
  • Express - 應用程式架構
  • Express-Handlebars - 模板引擎

Acknowledgments

  • AlphaCamp

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.