Git Product home page Git Product logo

skigo's Introduction

SKIGO (Backend Node.js)

開發環境

  • Node 10.16.x
  • NPM 6.9.0

目錄結構說明

  • src Server部分的 source code
  • public 靜態資源(HTML, 圖片, 頁面用的 js/css)
  • views .ejs file

專案初始化步驟

  1. 開發環境 - 先確認 node/npm 安裝好了,並且版本一致(確認方式:在終端機執行 npm -v / node -v 可以看到當前版本)
  2. 下載專案 - 終端機執行 git clone <repository>
  3. 安裝專案所需套件 - 終端機執行 cd <path/to/project> 進入專案目錄,再執行 npm install 開始安裝
  4. 啟動 Server - 終端機執行 npm start,看到 Server started, listening on port xxxx 代表啟動成功 🎉🎉🎉

開發方式

  • npm start 會使用 nodemon 啟動 Server,任何副檔名為 js / mjs / json 檔案發生變更,Server 會自動重啟,不用手動重啟

VS Code 插件

ESLint

程式碼格式檢查,目前使用 airbnb 規範; 如果不符合,vs code 會提示錯誤,請依照提示修改

1. 打開 vs code
2. 按下 Ctrl + Shift + X (Windows) / Command + Shift + X (Mac)
3. 搜尋框輸入 ESLint
4. install
5. 設定檔請看 .eslintrc.json

skigo's People

Contributors

one0212 avatar ttallen avatar jason-ku-8313 avatar lucky4bettty avatar winniexx0918 avatar bo-han-kao avatar banban0519 avatar bb2567 avatar

Stargazers

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