- Create app.js file and moved the core functionality for better isolation and testability.
- had plenty of time since the backend code is simple enough to do a full code coverage and simple test.
- not as of the moment since the backend functionality is simple and straightforward.
- as the request was for full code coverage and testing, that we the focus of this exercise. and since in the backend must be responsive no need for additional code which can introduce overhead.
- the original code did not have testing functionality installed so i added that together with another testing package called supertest which simplifies api testing for nodejs backend.