sudo apt-get install node
https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server
1-2 支援模組 Express
https://expressjs.com/en/guide/routing.html
2.範例
file upload
https://codeforgeek.com/2014/11/file-uploads-using-node-js/
chat room
http://socket.io/get-started/chat/
3.async
http://book.mixu.net/node/ch7.html
Z.安裝模組與使用
npm install formidable
var formidable = require("formidable");
沒有留言:
張貼留言