Node.js intro demo for Seattle Node Users Group
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
0
2a
2b
2c
.gitignore
LICENSE
README.md
package.json

README.md

Node.js beyond Hello World

Step 0: Be familiar with the Hello World example at http://nodejs.org

  1. Set up repo
    1. Configure .gitignore to ignore node_modules/
    2. Write package.json http://package.json.nodejitsu.com/
    3. npm install
    4. npm shrinkwrap
    5. install/start Redis if not already on your system http://redis.io
  2. Write some code
    1. Read/Write data with Redis
    2. Create a work pool with Axon
    3. Put it all together
  3. Homework
    1. Fork this project http://github.com/brycebaril/snug
    2. Convert 2a to use Express.js http://npm.im/express
    3. Convert 2b to make the workers log their work to files
    4. Convert 2c to use Socket.IO (or http://npm.im/shoe or standard websockets) to update the list live
    5. Let me know how it goes, or if you have any questions!