Skip to content

onejar99/nodejs-playground

Repository files navigation

Node.js Practice

The playground of Node.js practice and learning note.

Practices

  1. Todo App (CLI): 待辦事項管理 CLI App
  2. Weather App (CLI) w/ Callback: 景點天氣查詢 CLI App (Callback寫法)
  3. Weather App (CLI) w/ Promise: 景點天氣查詢 CLI App (Promise寫法)
  4. Weather App (CLI) w/ axios: 景點天氣查詢 CLI App (axios寫法)

Concepts

  1. Requiring Modules
  2. Promises (ES6)
  3. Async/Await (ES7)

Framework

  1. Express: Web framework
  2. Mocha: Testing framework

Modules: Built-in

  1. OS: 作業系統相關的工具函數 e.g. 使用者名稱、home目錄
  2. FS(File System): 檔案 IO、目錄相關函數

Modules: 3rd-Party

  1. lodash: 各種泛用的API工具,如型態判斷、過濾陣列重複元素
  2. yargs: 支援 command line 解析的工具函數,適合用於撰寫 CLI Apps
  3. string-format: 字串格式化 utility methods
  4. sleep: sleep utility methods (for debugging)
  5. request: Simple way to make asynchronous Http calls
  6. axios: 基於 Promise 設計的 Http Request tools

Tools

1.ESLint: Linter (Code Quality Tool)

Main Reference

About

The playground of Node.js practice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published