What is the professional approach to structuring a large Node.js application to promote maintainability?
-
A
Put all code in a single server.js file for simplicity
-
B
Organize code into feature-based or layer-based modules with clear separation of concerns
-
C
Use only global variables to share state between modules
-
D
Avoid using any npm packages to reduce complexity