Getting a new node project started with npm

The aim of this guide is to get people getting started with Node.js and npm, while also showing some of the handy commands I use to bootstrap my projects. Create your project directory. mkdir npmtest Change to the directory you just created. cd !$ Tell git to make a repo. git init Pull down a preconfigured .gitignore file for node projects from github. wget https://raw.githubusercontent.com/github/gitignore/master/Node.gitignore -O .gitignore Pull down a basic Makefile I use for my projects....

February 1, 2014 3 min

What is HMAC Authentication and why is it useful?

To start with a little background, then I will outline the options for authentication of HTTP based server APIs with a focus on HMAC and lastly I will provide some tips for developers building and using HMAC based authentication. Recently I have been doing quite a bit of research and hacking in and around server APIs. Authentication for these type APIs really depends on the type of service, and falls into a couple of general categories:...

October 20, 2012 7 min