DEV Community

Discussion on: Refactoring Code When You're Trying To Update A Legacy System

Collapse
 
liwoo profile image
Jeremiah Chienda

Thank you for your insightful content as usual. I'm currently going through this exact thing at work, with a back-end Nodejs Codebase. And my strategy is to breakdown the legacy App into loosely coupled MicroServices, one concern at a time. By moving away only what fits together (Auth, Sync etc) into http-based Services, it helps me take on a light cognitive load as and get some quick wins. I must admit though, it is not the most desirable situation to be in, but hey, gotta do the dirty work sometimes, right!