I need a tutorial or a book which allows me to create a restful web service. I was trying to follow this tutorial, but restify is not installing properly. After research I found DTrace is for Linux version and not supported for Windows OS.
Share
if you have problems installing RESTIFY on windows due to dependencies, you can try with Express.js
It install well on windows and it gives you a good foundation to create a REST api.
http://expressjs.com/
You probably won’t be using a view engine and just returning your payload using json or xml.
There is a nice article on using express for an api here:
http://pixelhandler.com/blog/2012/02/09/develop-a-restful-api-using-node-js-with-express-and-mongoose/
You don’t need to use Mongoose or mongo as the data store, just pick whatever you choose, but the rest of the article will be helpful.