Refactoring a Koa app (part V) - refactoring the root app
June 5, 2018
This is the fifth and last post in a series where I refactor an old (4 years) code base (an API written in Koa) to modern Javascript and tools.
Here are all the posts in the series
- Part I - get the tests to run
- Part II - where we clean up the test code a bit
- Part III - where we start to move over to async/await testing
- Part IV - where finally do something about the production code, and fix the other parts of the application
- Part V - wrapping up by refactoring the root application - this post