I would like to seek help on how to create a REST services using Node.JS in Raspberry PI. A simple REST services which can gather data from the sensors and write to SQLite database or Windows Azure's SQL Database. Hardware I will be using is Raspberry PI.
Take a look at this tutorial of how to use express 4 (last version so far), this is an amazing module, it provides a lot of power, just what you are looking for
Node.js + express + rest + mondoDB
You'll need to first install the node.js package compatible with ARM:
sudo apt-get update sudo apt-get upgrade wget http://nodejs.org/dist/v0.10.26/node-v0.10.26-linux-arm-pi.tar.gz tar -xvzf node-v0.10.26-linux-arm-pi.tar.gz
Now add this to your .bash_profile
From there you can install express.js which you can use for your api