node js server to betator application