Playing around with nodejs and how to write an API with it.