Small example of a rest api in nodejs