porting our hackathon project to node and making it work