Difference between revisions of "Node"
From Wiki2
Line 2: | Line 2: | ||
====[http://stackoverflow.com/questions/5062614/how-to-decide-when-to-use-node-js?rq=1 when to use node]==== | ====[http://stackoverflow.com/questions/5062614/how-to-decide-when-to-use-node-js?rq=1 when to use node]==== | ||
====[https://github.com/troygoode/node-cors/ node cors]=== | |||
===express=== | ===express=== |
Revision as of 10:53, 28 March 2014
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/