simulate nodejs app