NodeJS

https://www.zhihu.com/question/19793473

http://nqdeng.github.io/7-days-nodejs

http://blog.jobbole.com/53736

http://www.runoob.com/nodejs

http://nodejs.cn/api/

 

 

http://www.cnblogs.com/zapple/p/5683016.html

http://cnodejs.org/topic/53c652bfc9507b404446ee40

http://www.9958.pw/post/nodejs_lesson

 

http://v3.bootcss.com

http://www.runoob.com/bootstrap

 

https://www.npmjs.com/package/jwt-simple

 

npm install

npm  install -g express

npm  install -g express-generator

npm install -g supervisor

npm install -g forever

npm install moment

npm install mysql

npm install jwt-simple

 

 

express -e www

   install dependencies:
     > cd myapp && npm install

   run the app:
     > SET DEBUG=myapp:* & npm start

 

//express_demo.js 文件
var express = require('express');
var app = express();

app.get('/', function (req, res) {
   res.send('Hello World');
})

var server = app.listen(8080, function () {

  var host = server.address().address
  var port = server.address().port

  console.log("应用实例,访问地址为 http://%s:%s", host, port)
})

 

转载于:https://my.oschina.net/robslove/blog/843192

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值