I recently shared a post on Dockerizing Ruby applications for TDD & Deployment. This post continues the theme by introducing a similar structure for Node.js applications. The general approach goes like this: The structure is available as a cloneable boilerplate repo.
Full article