Skip to content

moko365/nodejs-getting-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS Getting Started - NodeJS 入門

課程規劃

課程對象:

  1. 本課程設定的對象是完全沒有接觸過 NodeJS 的學員
  2. 必須有基本的 JavaScript 程式設計能力

本課程分為三大部份:

  1. 準備開發環境
  2. 工具介紹
  3. 開始寫 NodeJS 程式

以下簡列每個部份的重點,以及影片講解所使用的指令。

準備開發環境

  • 1.1 NodeJS 安裝教學: Mac
brew install nodejs
  • 1.2 NodeJS 安裝教學: Ubuntu
$ sudo apt-get update
$ sudo apt-get install python-software-properties python g++ make
$ sudo add-apt-repository ppa:chris-lea/node.js
$ sudo apt-get update
$ sudo apt-get install nodejs
  • 1.3 NodeJS 安裝教學: Windows

工具介紹

$ curl https://raw.github.com/creationix/nvm/master/install.sh | sh
$ nvm install 0.10
$ nvm use 0.10
$ nvm run 0.10
$ nvm ls
$ nvm deactivate
  • 1.6 認識 REPL 命令列工具

開始寫 NodeJS 程式

  • 1.7 我的第一個 NodeJS 程式 (Run first NodeJS application) - hello.js
  • 1.9 撰寫 HTTP Server 程式 (Build a simple Web server with http module) - server.js
  • 1.11 學習 URL Routing (Route url requests with url module) - server-route.js
  • 1.13 如何解析 Query String (Handle URL parameters with query string module) - server-qs.js
  • 1.15 處理靜態檔案的請求 (Serve static file on web server with File System module) - server-fs.js

課程大綱

Session Topic Instructor Filename
1.1 NodeJS 安裝教學: Mac Hank 100P0101_InstallNodeMac
1.2 NodeJS 安裝教學: Ubuntu Hank 100P0102_InstallNodeUbuntu
1.3 NodeJS 安裝教學: Windows Hank 100P0103_InstallNodeWindows
1.4 認識 NPM 套件管理工具 Hank 100P0104_NpmIntro
1.5 認識 NVM 多版本 Node 管理工具 Hank 100P0105_NvmIntro
1.6 認識 REPL 命令列工具 Hank 100P0106_ReplIntro
1.7 我的第一個 NodeJS 程式 Hank 100P0107_NodeHelloWorld
1.8 NodeJS 概念與使用時機 Jollen 100P0108_WhyNodejs
1.9 撰寫 HTTP Server 程式 Hank 100P0109_BuildHttpServer
1.10 認識 HTTP API (REST) Jollen 100P0110_HttpApi
1.11 認識 URL Request Routing Jollen 100P0111_UrlRoutingIntro
1.12 URL Requst Routing 程式設計 Hank 100P0112_UrlRouting
1.13 認識 JSON Jollen 100P0113_JsonIntro
1.14 如何解析 Query String Hank 100P0114_ParseQuery
1.15 處理靜態檔案的請求 Hank 100P0115_StaticFiles

About

NodeJS Getting Statred (NodeJS 入門) Course on Mokoversity (http://www.mokoversity.com)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages