安装与入门
设置环境
node --versionvar http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello World\n'); }).listen(3003, '127.0.0.1'); console.log('Server running at http://127.0.0.1:3003/');node example.jsServer running at http://127.0.0.1:3003/curl http://localhost:3003/Hello World
CURD操作
Last updated