DEV Community

Discussion on: Project structure for an Express REST API when there is no "standard way"

Collapse
 
ccleary00 profile image
Corey Cleary

Glad to hear it was helpful! I used to get "fat controllers" all the time before I started pulling things out into services. And I've seen so many projects with the same issue, so it's a common problem.

Once you get the controllers cleaned up I think one of the biggest benefits is they become much easier to test too.