Coder Social home page Coder Social logo

middleware-practice's Introduction

middleware-practice

時間戳記與middleware使用練習。

Features - 產品功能

在 log 印出以下資訊 :

  1. 伺服器請求的時間
  2. http方法
  3. 連線的url
  4. 從server接收到request到server送出response所需的時間

環境建置與需求

  1. Node.js v12.19.0
  2. Express v4.17.1
  3. Nodemon v2.0.6
  4. luxon v1.25.0
  5. response-time v2.3.2

Installing - 專案安裝流程

  1. 開啟終端機,執行以下指令 :

git clone https://github.com/aoigj100a/middleware-practice

  1. 進入專案資料夾

cd middleware-practice

  1. 安裝 npm & 透過 npm 安裝套件

npm install

  1. 使用腳本啟動專案

npm run dev

  1. 在瀏覽器進入 http://localhost:3000

專案開發人員

AOI

middleware-practice's People

Contributors

aoigj100a 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.