a sample of nodejs with restfull apis