Coder Social home page Coder Social logo

middleware's Introduction

Restaurant-List Refactor (餐廳清單)

一個使用 Express + node.js 建立的 middleware

功能描述 (features):

  • 伺服器收到任何來自瀏覽器的 request 時,都會自動把資訊紀錄到 server log 裡,包括:
  • 時間戳記 (time-stamps) - 以當地時間 (台北) 顯示
  • 請求的 HTTP 方法
  • URL

安裝

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

git clone https://github.com/Goater1095/Middleware.git

2.初始

cd Restaurant-List  //切至專案資料夾
npm install  //安裝套件

3.開啟程式

npm run dev  //執行程式

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

使用工具

  • Visual Studio Code - 開發環境
  • Node.js - 執行環境
  • Express - 應用程式架構

middleware's People

Contributors

goater1095 avatar

Watchers

James Cloos avatar  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.