basic node application based on Manuel Kessling's book