DEV Community

loading...

Discussion on: Understanding MVC pattern in Nodejs

Collapse
eaetukudo profile image
Emmanuel Etukudo Author

No, The ArticleService.js is in a separate folder name services, it should be within the root directory of the project. This is because we are using Layered Architecture, there is a need to separate the business logic from the controller.