I have been working on a service which exposes its functionalities via a REST API. So, we have a number of REST services listening online and a REST client to control it. The whole server/client setup was originally written in Java. I was instructed to rewrite the client in JS so that we can have a web UI. I was given one and a half days (36 hours) to finish this.