Difference between revisions of "Node"
From Wiki2
Line 1: | Line 1: | ||
====token authentication==== | |||
http://www.kdelemme.com/2014/03/09/authentication-with-angularjs-and-a-node-js-rest-api/ | |||
====forever==== | ====forever==== | ||
forever stop server2.js | forever stop server2.js |
Revision as of 16:26, 24 June 2014
token authentication
http://www.kdelemme.com/2014/03/09/authentication-with-angularjs-and-a-node-js-rest-api/
forever
forever stop server2.js
require, exports and module.exports
when to use node
node cors
express
http://expressjs-book.com/forums/topic/express-js-sessions-a-detailed-tutorial/
http://stackoverflow.com/questions/18708428/how-to-do-authentication-with-node-js-and-mean-stack
win7
https://github.com/joyent/node/wiki/Installation
64bit version: http://nodejs.org/dist/latest/x64/node.exe
- is in /wamp/bin/node
- installed npm there too
- added it to path
- to test: from git bash> node hellonode.js starts server, see page at http://127.0.0.1:8124/
homebuntu
http://ariejan.net/2011/10/24/installing-node-js-and-npm-on-ubuntu-debian/